List Contacts
list_contactsFind contacts by name, email, organization, stage, lead source, or custom filters, page through matches, and display the contact list for the user.
Instructions
List contacts: find people by name or email, or pull exactly the ones a task needs, a page at a time.
Call it to find a contact whose id you do not hold (query), or to read the people
that match: by organization, stage, lead source, or a filter on any field, including
their organization's (organization.fit) and the rollups signals.active,
interactions.count and interactions.last_at. Pass columns when reading more
than a page, and follow next_cursor for the rest. To learn how many fall in each
group, use count_records instead of walking the list; to read one contact in full,
get_contact. Archived contacts are left out unless include_archived.
A host that shows views opens the contacts list for this call, so call it to show the user their contacts.
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_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | A field path to order by, "-" first for descending (e.g. "-created_at"). Rows with no value sort last. Default: newest first. | |
| limit | No | Page size (default 50, at most 200). | |
| query | No | Free text matched against name and email: split into words, each of which must appear in one of them, in any order ("matt calloway" finds "Matthew Calloway"). | |
| cursor | No | The next_cursor of the previous page. Pass the same query, filter, sort and columns with it. | |
| filter | No | Rows to keep, as {"field": path, "op": op, "value": v}, or {"and": [...]} / {"or": [...]} of those. The server instructions list the operators for each field type; list_fields lists the paths. | |
| status | No | Only contacts at this stage. | |
| columns | No | Return only these paths per row (plus id and uri), e.g. ["name", "title"]. Without it each row is the whole contact but its dossier. | |
| lead_source | No | Only contacts with this lead source. | |
| organization_id | No | Only the people at this organization. | |
| include_archived | No | Also list archived contacts (default false). Filter on archived_at to list only them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||