List contacts
list_contactsList saved Google Contacts with pagination, field selection, and incremental sync. Retrieve names, emails, phones, and more; use sync tokens to fetch only changes since last sync.
Instructions
Lists the account's saved contacts (People API people/me/connections): connections[] of Person objects with resourceName, etag and the requested person_fields (default names, emailAddresses, phoneNumbers, organizations, memberships — an absent field may be unmasked, not empty), plus nextPageToken, totalItems and (when requested) nextSyncToken. page_size up to 1000 (default 100); paginate with page_token. For incremental polling set request_sync_token=true on a full listing, store nextSyncToken, and pass it as sync_token next time to get only changed/deleted people (deleted ones carry metadata.deleted=true); an expired token (~7 days) fails with HTTP 410 EXPIRED_SYNC_TOKEN — re-list without sync_token. Covers only the user's own saved contacts — not the Workspace directory and not auto-saved addresses (see list_other_contacts).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_size | No | Contacts per page (1..1000, default 100). | |
| page_token | No | nextPageToken from the previous page. | |
| sort_order | No | Sort order (default LAST_MODIFIED_ASCENDING). Ignored when sync_token is set. | |
| sync_token | No | Sync token from a previous listing — returns only people changed since then. | |
| person_fields | No | Person fields to return (default names, emailAddresses, phoneNumbers, organizations, memberships). Only masked fields come back — an absent field may be unmasked, not empty. | |
| request_sync_token | No | Ask for a nextSyncToken on the last page (for later incremental syncs). |