Hang up a call
hangup_callEnds all legs of an active call by call ID and fires the call.ended webhook. Use it to terminate calls placed via make_call or received through a webhook.
Instructions
DELETE /v1/calls/{callId} (permission pbx:write). Ends all legs of the call (normal clearing). Fires the call.ended webhook. 404 = unknown or already ended; 409 = no active channel.
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": {
"callId": "<callId>"
},
"name": "hangup_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| callId | Yes | callId returned by make_call or received via webhook |