Change one business of a batch
update_lead_gen_siteChanges one business of a batch: its name, phone, email, address, logo, colour, or background. To change the defaults of the whole batch, use update_lead_gen_batch. Send only the fields to change; an empty string clears one, except the name. It works in a draft batch and on a live mini-site, and the logo changes only in a draft. It returns the business inside <lead_rows> and costs nothing. The first call writes nothing and returns each field's current value and its new one inside <lead_rows>; 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>",
"itemId": "<itemId>"
},
"name": "update_lead_gen_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| phone | No | ||
| itemId | Yes | Business id from get_lead_gen_batch. | |
| address | No | ||
| 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. | |
| logoUrl | No | Draft batches only. | |
| businessName | No | ||
| primaryColor | No | ||
| backgroundTheme | No |