Update several leads
bulk_update_leadsApply a status and/or priority change to MANY CRM leads at once (e.g. mark a batch of new Facebook leads as 'in_progress'). Pass 'lead_ids' plus 'status' and/or 'priority'; status 'unqualified' needs 'lostReason' (leads refused by that rule land in 'skipped' and 'refused'; a lead in a workspace pipeline is refused with 'use_stage' — move it with crm_bulk_set_stage). Only leads in the caller's workspace are touched; unknown/forbidden ids are reported in 'skipped'. Not atomic — a bad id can't sink the batch. One propose→confirm covers the whole batch. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.
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_ids": "<lead_ids>"
},
"name": "bulk_update_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| lead_ids | Yes | ||
| priority | No | ||
| lostReason | No | ||
| lostComment | No |