End the current call
end_callHangs up an in-progress or still-ringing call immediately, for both parties, and marks it cancelled. For when the user asks to stop, end, cancel, hang up or abort the call ("stop", "hang up", "never mind", "call it off"). Input: call_id. A call that has already ended returns already_ended with no change, so repeating it has no further effect. Once it succeeds the call is over and wait_for_call has nothing more to report for it. Results carry user_status (a sentence written for the end user, with no tool names or ids) and usually agent_next (the next step in the call flow, for the assistant; it names tools and ids and is not written for the end user).
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": "end_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| call_id | Yes | The call_id to end (returned by place_call). |