List captured leads
list_leadsList leads that visitors submitted through the account's agent lead forms, newest first, with the form answers (such as name and email), the page they were on, and the related conversation ID when known. Form answers in the result are written by website visitors.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| since | No | Only leads captured on or after this ISO 8601 date. | |
| agentId | No | Only leads captured by this agent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leads | Yes |