Stop or resume a lead's calls, texts or AI
set_lead_automationStop or resume automated contact with one lead: follow-up calls, texts, the AI agent's calls or texts, or block/unblock the lead entirely. Identify the lead by lead_id or phone_number. stop_follow_up and block also cancel the lead's pending scheduled call and end its sequence, and resuming does not bring those back.
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": {
"action": "<action>"
},
"name": "set_lead_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | stop_follow_up / resume_follow_up: automated follow-up calls. stop_sms / resume_sms: all texts to the lead. pause_ai_calls / resume_ai_calls and pause_ai_sms / resume_ai_sms: only the AI agent on that channel. block / unblock: no calls to the lead at all. | |
| lead_id | No | The id of the lead. Provide this or phone_number. | |
| phone_number | No | The lead's phone number to look up, ideally in E.164 format. Provide this or lead_id. |