Get Contacts
get_contactsExtract contact list from email history with send/receive counts, last-interaction dates, and recency-weighted rankings. Supports sorting by total interactions, sent, or received counts.
Instructions
Extract contact list from email history with send/receive counts, last-interaction dates, inferred organization, and recency-weighted ranking. Includes contacts from both inbox and sent folders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max contacts to return (default 100, max 500) | |
| sortBy | No | Sort order: recent = recency-weighted total (default), total = raw interaction count, sent = emails you sent them, received = emails they sent you | recent |
| account_id | No | Optional account ID to route this call to (multi-account configs). Omit to use the active account. Configured account IDs are listed in the settings UI (Accounts tab). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contacts | Yes |