enable_campaign
Enable (resume) a paused or draft campaign. The campaign engine starts scheduling actions per the campaign's workflow. Two-phase: first call returns a confirmation token + preview; the user reviews and confirms; second call (with confirmation_token) commits. Activation pre-conditions (workflow steps, connected accounts) are validated by the underlying campaign service — the tool surfaces any failure as a structured error. 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": "enable_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) |