Cancel a running or scheduled campaign
cancel_call_campaignIRREVERSIBLE: Cancel a running or scheduled campaign
Stops a submitted campaign: pending calls are abandoned and the campaign moves to cancelled. Calls already placed are not undone and remain chargeable, so cancelling limits further spend rather than reversing it. A campaign that was never submitted is refused with 400 and should be deleted instead, and one that is already completed, cancelled or failed is refused with 409. Cancellation is recorded locally even when the upstream stop could not be attempted. This operation uses the write:agents scope rather than a scope of its own.
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": {
"campaignId": "<campaignId>"
},
"name": "cancel_call_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Leave out on the first call. EchoCall then answers with a confirmation value. Ask the user for a clear yes, then repeat the call with the same arguments and this value. | |
| campaignId | Yes | Identifier of the campaign to cancel. |