Remove a lead source
remove_lead_sourceRemove a lead source for good: its address stops accepting leads right away, so anything still sending to it is lost. Leads it already brought in are kept. To stop it for now, use update_lead_source with enabled false. Admins only. Ask the user to confirm before calling this tool.
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": {
"lead_source_id": "<lead_source_id>"
},
"name": "remove_lead_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | No | Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace. | |
| lead_source_id | Yes | Lead source id from list_lead_sources |