search_contacts
Search the user's Google Contacts (saved contacts + Google's auto-collected "other contacts") across all connected Google accounts, by name (or partial name/email). Returns each match's name, primary email, full email list (for people with several addresses), and source ('contact' = saved, 'other' = auto-collected). Use this to resolve a person's NAME to an email address before composing/sending a message — on 0 matches, fall back to searching past message history or ask the user directly; on multiple matches, ask the user which one before proceeding. Accounts without the contacts scope are skipped and reported in errors with a reconnect hint. Call list_accounts to learn account labels. Read-only — no contact writes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max contacts per account, per source (default 10, max 30). | |
| query | Yes | Name (or partial name/email) to search for. | |
| accounts | No | Account labels to search (see list_accounts). Omit for all Contacts-enabled Google accounts. |