Create a Lead Gen batch
create_lead_gen_batchCreates a batch of demo mini-sites, one for each business in rows, and starts building them. It costs 1 Lead Gen credit a row (5 at least) and counts as one of 10 paid calls a minute. Send the same idempotencyKey when you retry, so you receive the first result and are not charged twice. It returns the batchId and the status; follow it with get_lead_gen_batch.
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": {
"rows": "<rows>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "create_lead_gen_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| industry | No | Left out: Home Services. | |
| language | No | Left out: en. | |
| logoSizePx | No | Left out: 88. | |
| contactMode | No | ||
| templateKey | No | Left out: standard. | |
| primaryColor | No | ||
| idempotencyKey | Yes | New for each batch; reuse it on a retry. | |
| backgroundTheme | No |