mautic_remove_contact_from_segment
Remove a contact from a Mautic segment by segment and contact ID; omit confirm for a dry-run preview, or set confirm true to execute.
Instructions
Remove a contact from a segment. POST /api/segments/{segmentId}/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": {
"segment_id": "<segment_id>",
"contact_id": "<contact_id>"
},
"name": "mautic_remove_contact_from_segment"
}
}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 | ||
| segment_id | Yes |