Remove contact from group
civicrm_remove_from_groupRemove a contact from a CiviCRM group by setting status to 'Removed', preserving history without hard deletion.
Instructions
Mark a contact as Removed from a group (GroupContact status='Removed'). Preserves history — does not hard-delete. Requires CIVICRM_ALLOW_WRITES=true.
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": {
"contact_id": "<contact_id>",
"group_id": "<group_id>"
},
"name": "civicrm_remove_from_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | CiviCRM group id (not title). | |
| contact_id | Yes |