OpenAI Realtime
The Realtime API calls a remote MCP server itself: you add a tool of type mcp to the session and the model's tool calls are executed by OpenAI, not by your client.
- Create an API key in the dashboard.
- Send the session.update below when the session starts.
- Wait for mcp_list_tools.completed before expecting tool calls.
- Put the agent instructions from Get started in the session instructions.
{
"type": "session.update",
"session": {
"tools": [
{
"type": "mcp",
"server_label": "browsemcp",
"server_url": "https://api.pointline.ai/mcp",
"headers": { "Authorization": "Bearer bmk_…" },
"allowed_tools": ["start_session","get_session_status","get_page_state","highlight_element","scroll_to","annotate","clear_annotations","find_element","wait_for_change","get_form_errors","read_text","list_site_actions","run_site_action","show_message","guide_steps","focus_field","pause_sharing","add_note","end_session","handoff_to_human","request_consent","fill_field","click","navigate","press_key","hover","go_back","reload"],
"require_approval": "never"
}
]
}
}Good to know
- Send the key either in headers.Authorization or in the authorization field, never both. OpenAI's guide does not show a header example for a server_url tool; confirm the placement against their current reference before going live.
- allowed_tools narrows what the model can call. Start with the full list above and remove what you do not use.
- require_approval can stay at never: no Pointline tool can click, type or navigate for the caller.
- After MCP calls finish, your client sends response.create to let the model continue speaking.
Checked against OpenAI Realtime's documentation on 19 November 2026. Platforms change their settings; if a field has moved, their page is the authority. This guide has not been run against a live OpenAI Realtime call yet.
Using something else? See all platforms.
Next: add the agent instructions and try a call against your own site.