calls_wait
Block until a voice call ends (status changes from 'active') or timeout elapses. Returns ended=true with final state when the call has ended; ended=false on timeout (re-issue to keep waiting). The returned state includes outcome so callers can branch on pickup vs. no-answer (answered/no_answer/busy/declined/failed/unknown). Default timeout 90s; cap 110s — bounded by nginx proxy_read_timeout 120s on /mcp.
For a meeting bot (calls.dispatch_translator / calls.dispatch_agent into Google Meet, Zoom or Teams) pass until='joined': it answers as soon as the bot is IN the meeting (joined=true) or the join failed (ended=true, with metadata.join_error saying why, e.g. the link is not valid or the host denied it). Do this before telling anyone the bot is in the meeting.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"call_id": "<call_id>"
},
"name": "calls_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| until | No | OMIT to wait for the call to end. 'joined': for a meeting bot, also answer as soon as it is in the meeting. | |
| call_id | Yes | Call ID returned by calls.make in _meta.call_id. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. | |
| timeout_seconds | No | Max seconds to wait. Default 90, cap 110 (bounded below nginx 120s proxy_read_timeout). On expiry returns ended=False with status='active' so the caller can re-issue to keep waiting. |