Activate or pause campaign
Switches the Active state of a campaign on or off.
MCP tool mautic_write → set_campaign_active
write Confirm
Sets the Active switch of the campaign. Turning it on lets the campaign start sending to its contact sources, a segment or a form, so Mautic advises not to activate a campaign until you are ready for it to go live. Turning it off stops it. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| campaign_id integer required | integer | Campaign ID from list_campaigns. |
| active boolean required | boolean | true turns the campaign on, false turns it off. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "mautic_write",
"arguments": {
"operation": "set_campaign_active",
"arguments": {
"campaign_id": 1,
"active": true
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"campaign_id": 15,
"name": "Birthday email",
"active": false
},
"isError": false
}