delete_campaign
Permanently deletes a campaign and any in-app messages it delivered; cancel sending, scheduled, or paused campaigns first, and stop live in-app campaigns before removal.
Instructions
Permanently delete a campaign. This cannot be undone. Sending, scheduled, or paused campaigns must be cancelled with cancel_campaign first, and live in-app campaigns stopped first; deleting an in-app campaign also deletes the messages it delivered.
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": "delete_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | No | Company ID. If not provided, uses the currently selected company. | |
| campaignId | Yes | Campaign ID to delete. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Additional context about the result. | |
| items | No | Fallback array wrapper used only when a tool returns a bare array. | |
| value | No | Fallback object wrapper used only when a tool returns a non-object value. | |
| message | No | Human-readable status, confirmation, or next-step message. | |
| success | No | Whether the Sequenzy operation succeeded. | |
| warnings | No | Non-fatal cautions about content, permissions, or follow-up actions. | |
| campaignId | No | Deleted campaign ID. |