Add to Opt-Out List
Add a phone number to the Opt-Out List.
MCP tool clicksend_write → add_opt_out
write Confirm
Adds the number as + New Contact on the Opt-Out List does. The number stays on your other lists until you run remove_opted_out_contacts. Removing a number from the Opt-Out List is not offered. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| phone_number string required | string | Phone number with the country code. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "clicksend_write",
"arguments": {
"operation": "add_opt_out",
"arguments": {
"phone_number": "phone number"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"phone_number": "+15550100234",
"added": true
},
"isError": false
}