list_leads
Fetch leads from a saved view by passing a view_id from list_views(module="leads"). Supports pagination, sorting, and page size controls.
Instructions
List leads from a saved view. Call list_views(module="leads") first to get a view_id.
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": {
"view_id": "<view_id>"
},
"name": "list_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| sort | No | Field name to sort by | |
| view_id | Yes | View id from list_views | |
| per_page | No | ||
| sort_type | No |