Remove contact
Remove one contact from a list.
MCP tool clicksend_write → remove_contact
write Confirm
Removes the contact from its list, as removing a contact from a list in the dashboard does. The contact is not added to the Opt-Out List, so it can be added again later. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| list_id integer required | integer | Contact list ID from list_contact_lists. |
| contact_id integer required | integer | Contact ID from list_contacts. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "clicksend_write",
"arguments": {
"operation": "remove_contact",
"arguments": {
"list_id": 1,
"contact_id": 1
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"removed": true,
"contact_id": 9012841,
"list_id": 128734
},
"isError": false
}