Home / Servers / OpenAI API / accept_realtime_call
Accept call
An MCP tool from the OpenAI API server, hosted on mcp.hjlabs.in.
Accept call Accept an incoming SIP call and configure the realtime session that will handle it. [POST /realtime/calls/{call_id}/accept]
Name on the gateway: openai_api__accept_realtime_call · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
call_id required | string | The identifier for the call provided in the… |
type required | realtime | The type of session to create. Always realtime for the Realtime API. |
output_modalities | array | The set of modalities the model can respond with. It defaults to ["audio"]… |
model | string | The Realtime model used for this session. |
instructions | string | The default system instructions (i.e. system message) prepended to model… |
audio | object | Configuration for input and output audio. |
include | array | Additional fields to include in server outputs. item.input_audio_transcription.… |
tracing | object | Realtime API can write session traces to the Traces Dashboard. Set to null to… |
tools | array | Tools available to the model. |
tool_choice | object | How the model chooses tools. Provide one of the string modes or force a… |
parallel_tool_calls | boolean | Whether the model may call multiple tools in parallel. Only supported by… |
reasoning | object | Configuration for reasoning-capable Realtime models such as gpt-realtime-2. |
max_output_tokens | integer | Maximum number of output tokens for a single assistant response, inclusive of… |
truncation | object | When the number of tokens in a conversation exceeds the model's input token… |
prompt | object | Reference to a prompt template and its variables. Learn more. |
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:
{
"name": "openai_api__accept_realtime_call",
"arguments": {
"call_id": "…",
"type": "…"
}
}Or connect the OpenAI API server directly, which lists 371 tools including this one:
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 accept call tool with call_id set to ….