Cancel a campaign
cancel_whatsapp_campaignCancel a campaign. Ends the campaign for good. Recipients not yet sent are marked unknown; those already sent keep their delivery status. A campaign that is already completed, cancelled or failed answers 422 with reason: already_finished. A draft can be cancelled too. Administrators only. Requires feature: whatsapp_campaigns.
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": {
"id": "<id>"
},
"name": "cancel_whatsapp_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the campaign |