Delete lead
delete_leadDelete a lead. organization_id defaults to your active organization; pass it explicitly for a lead in another organization you belong to. Confirmation-gated.
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_id": "<lead_id>"
},
"name": "delete_lead"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lead_id | Yes | id of the lead to delete, from list_leads | |
| organization_id | No | organization to act in, an id from get_me; omit to use your active organization | |
| confirmation_token | No | leave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token to proceed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | when the tool asks first: { status: "confirmation_required", confirmation_token, summary, expires_in_seconds, instructions } and nothing is changed; once confirmed, the API response { status (HTTP status), data: { id, event_id, customer_id, customer { id, name, email, phone }, name, email, phone, event_date, event_type, location, latitude, longitude, budget, message, status, stage, company, source, and 8 more fields } } | |
| error | No | when ok is false |