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

Parameters: set_campaign_active
NameTypeDescription
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

JSON-RPC

{
  "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

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "campaign_id": 15,
    "name": "Birthday email",
    "active": false
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.