List Contacts
list-contactsRetrieve contacts from your Resend account, with optional segment filtering, to discover contact IDs or emails for email marketing and audience management.
Instructions
Purpose: List contacts from Resend. Optionally filter by segment. Use to discover contact IDs or emails.
NOT for: Listing segments (use list-segments). Not for listing sent emails (use list-emails) or broadcasts (use list-broadcasts).
Returns: For each contact: id, email, first_name, last_name, unsubscribed, created_at.
When to use: User asks "who's in this list?", "show contacts", "who did I add?" Don't bother telling the user the IDs, unsubscribe statuses, or creation dates 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 | Contact ID after which to retrieve more (for forward pagination). Cannot be used with "before". | |
| limit | No | Number of contacts to retrieve. Default: 20, Max: 100, Min: 1 | |
| before | No | Contact ID before which to retrieve more (for backward pagination). Cannot be used with "after". | |
| segmentId | No | Segment ID to filter by. If provided, only contacts in this segment will be returned. |