Home / Servers / OpenAI API / hangup_realtime_call

Hang up call

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

Hang up call End an active Realtime API call, whether it was initiated over SIP or WebRTC. [POST /realtime/calls/{call_id}/hangup]

Name on the gateway: openai_api__hangup_realtime_call · may change things.

Parameters

NameTypeDescription
call_id requiredstringThe identifier for the call. For SIP calls, use the value…

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__hangup_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 hang up call tool with call_id set to ….

More from OpenAI API