Get call result
poll_resultCheck on a call that came back "ringing", "in_call" or "playing". Waits
up to ~25s for it to settle, then returns the same shape as call: the
final status and transcript once they answer, decline, or the ring times
out ("missed", within about a minute). Still not settled: call it again.
For play_audio calls it reports listened_s and finished. Rings nothing.
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>",
"session_token": "<session_token>"
},
"name": "poll_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| call_id | Yes | The call_id from the call or play_audio result. | |
| session_token | Yes | The session_token from an earlier result. It keeps every call and text in one thread on their phone. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Your own agent number. Never call or text it. | |
| next | No | What to do next when the call has not settled. | |
| open | No | True while the line stays up for say or hang_up. | |
| turn | No | Index of the answer within a conversation. | |
| title | No | play_audio: the recording's title. | |
| status | Yes | "completed" (answered), "ringing" or "in_call" (not settled: poll_result), "missed", "declined", "ended", "hanging_up", "playing" (play_audio), or "setup_required" when no number was given. | |
| call_id | No | Pass to poll_result, say and hang_up. | |
| audio_id | No | play_audio: the recording that was offered. | |
| finished | No | play_audio: whether they heard it to the end. | |
| language | No | Language code the recognizer heard, information only. | |
| listened | No | play_audio: whether they chose to listen. | |
| duration_s | No | play_audio: its length in seconds. | |
| listened_s | No | play_audio: seconds they listened. | |
| transcript | No | What the human said; empty if they only listened. | |
| audio_error | No | play_audio: why the recording could not be played. | |
| language_name | No | That language's name. | |
| session_token | No | Reuse in later calls and texts to stay in one thread. | |
| said_while_waiting | No | What they said while you were thinking. |