calls_hangup
Hang up an active voice call by call_id. Use after calls.make when the agent decides to terminate before the callee does, or to abort a stuck call. Idempotent: returns success if the call is already terminal.
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_hangup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Short internal reason for ending the call (e.g. 'campaign timeout'). Stored on voice_sessions.metadata. | |
| 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. |