Change many leads at once
dosai_bulk_leadsOne action over up to 200 leads (ids: dosai_list_leads): status (move them all to one status, a name from dosai_get_lead_statuses) or add_tag (add one tag of up to 40 characters to each; a lead that already has 20 tags is counted in failed). The owner's rules react to it as to a change made by hand: a rule "tag added: send a message" (dosai_list_rules) will write to EVERY client in the batch, so this tool needs the permission to write to clients and goes in two steps. Requires editor role.
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": {
"project_id": "<project_id>",
"action": "<action>",
"lead_ids": "<lead_ids>",
"value": "<value>"
},
"name": "dosai_bulk_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The status name, or the tag text (up to 40 characters). | |
| action | Yes | ||
| lead_ids | Yes | ||
| project_id | Yes | From dosai_list_projects. | |
| confirm_token | No | Leave empty on the first call: it changes nothing and returns what will happen and a code. Ask the owner; only after their explicit "yes" call again with the same arguments and this code. |