Delete leads
lead_deletePermanently remove leads from a campaign along with their pending actions. Irreversible — confirm with the user, and prefer lead_update with isExcluded: true when they only want sending to stop.
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": {
"campaignId": "<campaignId>"
},
"name": "lead_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leadIds | No | Specific leads to delete. | |
| selectAll | No | Delete every lead matching a filter instead of an id list, e.g. { "status": "FAILED" }. | |
| campaignId | Yes | Campaign id, from `campaign_list` or `campaign_create`. |