Play call recording
play_callUse this when the user wants to listen to a recorded call or a moment of it: it opens the call's player in the chat (the hub widget, Call tab), the recording with its transcript highlighted as it plays — whole, or a part with from and to. You get no audio, only a short confirmation; the user listens in the widget. If widgets aren't shown in this chat, give the user url.
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": "play_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | stop here, same format | |
| hub | No | hub key or name | |
| from | No | start here: m:ss, h:mm:ss or seconds | |
| call_id | Yes | call id from list_calls |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hub | Yes | ||
| url | Yes | the call on the website, if widgets aren't shown in this chat | |
| note | Yes | ||
| view | Yes | call — the hub widget opens this call's player | |
| to_ms | No | ||
| call_id | Yes | ||
| from_ms | Yes |