Pause, resume or stop a campaign
control_campaignChange the run state of a campaign. 'stop' is permanent: a stopped campaign cannot be resumed, so confirm with the user before stopping.
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>",
"action": "<action>"
},
"name": "control_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | What to do | |
| confirm | No | Required for stop | |
| campaign_id | Yes | Campaign id |