list_leads
Retrieve unique lead records across calls, forms, and texts, with company filtering and pagination for account-wide lead review.
Instructions
List leads (unique people) across calls, forms, and texts.
A lead is CallRail's deduplicated person record: one entry per
customer regardless of how many times they called / submitted /
texted. Use get_lead_timeline for a lead's full cross-channel
history.
Args: account_id: Auto-resolves if omitted. company_id: Filter to one company. per_page: Page size (max 250). page: 1-indexed.
Returns:
JSON string with page, per_page, total_pages,
total_records, and leads[]. Each lead has id ('PER...'),
name, phone, email, company_id, company_name, created_at.
sort ('created_at' | 'name' | 'email') with order ('asc' | 'desc').
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 |
|---|---|---|---|
| page | No | ||
| sort | No | ||
| order | No | ||
| per_page | No | ||
| account_id | No | ||
| company_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |