delete_campaign
Delete a campaign. IRREVERSIBLE — cascades to its pipeline stages, target/lead memberships, documents, scripts and other campaign-scoped rows (leads/contacts/accounts themselves are NOT deleted). Refuses if the campaign still has target members unless force=true. Reassign the ingest default_campaign_id first if this is the Beeper default.
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": {
"campaign_id": "<campaign_id>"
},
"name": "delete_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Delete even if the campaign has target members. | |
| campaign_id | Yes | ID of the campaign to delete |