remove_contact
Remove a contact from a mailing list while retaining the contact in the XM Directory. Requires confirmation to delete.
Instructions
Remove a contact from this mailing list only; the contact remains in the XM Directory
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": {
"directoryId": "<directoryId>",
"mailingListId": "<mailingListId>",
"contactId": "<contactId>",
"confirmDelete": "<confirmDelete>"
},
"name": "remove_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contactId | Yes | The contact ID to remove | |
| directoryId | Yes | Required XM Directory ID (POOL_...), also known as the directory or pool ID | |
| confirmDelete | Yes | Must be true to confirm deletion | |
| mailingListId | Yes | The mailing list ID |