List contacts
list_contactsList contacts of the team, oldest first, with cursor pagination. Pass segment_id to list only that segment's members; include=properties,topics attaches the typed property map and the topic subscriptions to every item.
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: id of the last item of the previous page. Must be an id this list returned; there is no sentinel value. | |
| limit | No | Page size, 1-100 (default 20) | |
| before | No | Cursor: id of the first item of the next page (page backwards); same rule as after. | |
| include | No | MepMail extension: comma-separated facets attached to every item — `properties` (the {type, value} map GET /contacts/{id} returns) and `topics` (the rows GET /contacts/{id}/topics returns). Omitted, each item has the Resend shape. | |
| segment_id | No | Only contacts in this segment |