Home / Servers / OpenAI API / refer_realtime_call

Refer call

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

Refer call Transfer an active SIP call to a new destination using the SIP REFER verb. [POST /realtime/calls/{call_id}/refer]

Name on the gateway: openai_api__refer_realtime_call · may change things.

Parameters

NameTypeDescription
call_id requiredstringThe identifier for the call provided in the…
target_uri requiredstringURI that should appear in the SIP Refer-To header. Supports values like…

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__refer_realtime_call",
  "arguments": {
    "call_id": "…",
    "target_uri": "…"
  }
}

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

More from OpenAI API