mautic_remove_contact_from_campaign
Remove a contact from a Mautic campaign by campaign and contact ID, with an optional dry-run preview before executing the write.
Instructions
Remove a contact from a campaign. POST /api/campaigns/{campaignId}/contact/{contactId}/remove. Omit confirm for a dry-run preview.
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>",
"contact_id": "<contact_id>"
},
"name": "mautic_remove_contact_from_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to the boolean true to execute the write. Omit this field for a dry-run preview. false and the string true are rejected. | |
| contact_id | Yes | ||
| campaign_id | Yes |