Remove duplicate contacts

Remove duplicate contacts inside one list, by phone number or email.

MCP tool clicksend_write → remove_duplicates

write Confirm

Runs Clean Up > Remove Duplicates on one list, comparing the field you pick. It works inside one list only, never across lists. The result is the number of contacts the list lost. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: remove_duplicates
NameTypeDescription
list_id integer required integer Contact list ID from list_contact_lists.
field enum required enum phone_number or email.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "clicksend_write",
    "arguments": {
      "operation": "remove_duplicates",
      "arguments": {
        "list_id": 1,
        "field": "phone_number"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "list_id": 128734,
    "list": "Newsletter subscribers",
    "compared": "phone_number",
    "removed": 9
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.