Change a draft batch's defaults
update_lead_gen_batchChanges the defaults of a whole draft batch (colour, background, logo size, contact mode, language, template); a business with its own value keeps it. To change one business, use update_lead_gen_site. It works on a draft that the dashboard created; a batch from create_lead_gen_batch has started and answers already_started. It costs nothing. The first call writes nothing and returns each field's current value and its new one; show that list to your user and call again with the same arguments and confirm: true only after they agree.
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": {
"batchId": "<batchId>"
},
"name": "update_lead_gen_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batchId | Yes | Batch id from create_lead_gen_batch or list_lead_gen_batches. | |
| confirm | No | Set true only after your user approved the list from your previous call to this tool. Never set it on the first call. | |
| language | No | ||
| logoSizePx | No | ||
| contactMode | No | ||
| templateKey | No | ||
| primaryColor | No | ||
| backgroundTheme | No |