Home / Servers / OpenAI API / reject_realtime_call

Reject call

An MCP tool from the OpenAI API server, hosted on mcp.hjlabs.in.

Reject call Decline an incoming SIP call by returning a SIP status code to the caller. [POST /realtime/calls/{call_id}/reject]

Name on the gateway: openai_api__reject_realtime_call · may change things.

Parameters

NameTypeDescription
call_id requiredstringThe identifier for the call provided in the…
status_codeintegerSIP response code to send back to the caller. Defaults to 603 (Decline) when…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "openai_api__reject_realtime_call",
  "arguments": {
    "call_id": "…"
  }
}

Or connect the OpenAI API server directly, which lists 371 tools including this one:

Run in your terminal
claude mcp add --transport http hj-openai-api https://mcp.hjlabs.in/mcp/openai-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the reject call tool with call_id set to ….

More from OpenAI API