Search contacts
search_contactsFind saved contacts by searching name, email, phone, or organization prefixes. Returns matching contact details with selected fields, up to 30 results.
Instructions
Searches the account's saved contacts by prefix match on names, nicknames, emails, phones and organizations (People API people:searchContacts). Returns results[] of { person } with the requested read_mask fields. Max 30 results, no pagination — this is a quick lookup, not an export; use list_contacts to enumerate everything. The search index lags writes by seconds to minutes: a contact created or updated moments ago may be missing here even though list_contacts and get_contact already see it (the documented cache-warmup request is sent automatically before the session's first search, but the lag is server-side). Searches only the user's own saved contacts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The search text, e.g. a name prefix ("Ann"), email or phone fragment. | |
| page_size | No | Max results (1..30, API cap; default 10). | |
| read_mask | No | Person fields to return (default names, emailAddresses, phoneNumbers, organizations, memberships). Only masked fields come back — an absent field may be unmasked, not empty. |