pause_campaign
Pause an active campaign. The campaign engine stops scheduling actions. Two-phase: first call returns a confirmation token + preview; the user reviews an inline card and confirms or cancels; second call (with confirmation_token) commits the pause. Always include campaign_name + app_name so the preview is human-readable. Over MCP: call this tool once, without confirmation_token. It runs right away and returns the result.
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>",
"campaign_name": "<campaign_name>",
"app_name": "<app_name>"
},
"name": "pause_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_name | Yes | App name (used in the confirm preview) | |
| campaign_id | Yes | Campaign id (from a prior list_campaigns) (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000) | |
| campaign_name | Yes | Campaign name (used in the confirm preview) | |
| confirmation_token | No | Phase-2 token (omit on phase-1) |