List Contacts
list-contactsRetrieve contacts or find a single person by exact email, phone number, or external ID, and view contacts filtered by list, tag, or segment.
Instructions
Purpose: List contacts, or look one person up.
Use when: the user asks "is X a contact?", "who is in this list?", "who has this tag?", "who is in this segment?". Pass an exact email, phone_number or external_id to find one person, or list_id / tag_id / segment_id to see an audience.
Not for: counting a list, tag or segment (get-list, get-tag and get-segment return contact_count). Don't read ids or timestamps back to the user unless they ask for them.
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 |
|---|---|---|---|
| after | No | Cursor for the next page: the `id` of the last item on this page. Cannot be combined with `before`. | |
| No | Exact email, case-insensitive. | ||
| limit | No | Items per page, 1-100. Defaults to 20. | |
| before | No | Cursor for the previous page: the `id` of the first item on this page. | |
| tag_id | No | Only contacts with this tag. | |
| list_id | No | Only contacts in this list. | |
| segment_id | No | Only the members of this segment, as of the segment's `counted_at`. Refused while the segment is `processing`. | |
| external_id | No | Exact match on the organization's own identifier. | |
| phone_number | No | Exact phone number; normalized to E.164 before matching. |