Read a Lead Gen batch
get_lead_gen_batchReturns one batch and a page of its businesses (50 a page; follow next_cursor): their fields, status, demo address, and the itemId that update_lead_gen_site needs. Poll it after create_lead_gen_batch until the status is complete or failed. The businesses come from the uploaded list, so the result is wrapped as data inside <lead_rows>. It is free and changes nothing.
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": "get_lead_gen_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | The next_cursor of the last page. | |
| batchId | Yes | Batch id from create_lead_gen_batch or list_lead_gen_batches. |