leads_list_all_auto
Fetch all non-archived leads automatically with pagination handling. Returns complete results in one response using the same filters as the list tool. Ideal for exports and reports.
Instructions
Automatically fetch ALL leads with pagination handling.
This tool automatically handles pagination and fetches all non-archived leads matching the filters. Unlike leads/list, this returns ALL results in a single response.
WARNING: This can return large datasets. Use filters to limit results.
Workflow tips:
Same filters as leads/list (owner_id, person_id, organization_id, filter_id)
Specify max_items to limit total results if needed
No need to manage start/limit - pagination is automatic
Best for exports, reports, or comprehensive analysis
Leads are sorted by creation time (oldest to newest)
Common use cases:
Get all leads: {}
Export all leads for a user: { "owner_id": 123 }
Get all leads for analysis: { "max_items": 1000 }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner_id | No | Filter by owner (user) ID | |
| person_id | No | Filter by person ID | |
| organization_id | No | Filter by organization ID | |
| filter_id | No | ID of the filter to use | |
| sort | No | Field names and sorting mode | |
| max_items | No | Maximum number of items to return |