List leads
list_leadsList a chatbot's captured leads (visitors who submitted an email or phone via the lead-capture form). Newest first, paginated 50 per page.
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": {
"chatbot_id": "<chatbot_id>"
},
"name": "list_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (50 per page). | |
| chatbot_id | Yes | The chatbot id. |