Google Contacts
v1.3.0Allow AI systems to list, search, and manage contacts via Google Contacts.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
contacts_list List contacts
List contacts from the user's Google Contacts. Returns names, emails, phone numbers, organizations, birthdays, events, URLs, addresses, nicknames, relations, IM usernames, genders, external IDs, client data, and custom fields.
| Parameter | Type | Description |
|---|---|---|
pageSize | number | Maximum number of contacts to return |
pageToken | string | Page token for pagination |
sortOrder | string | Sort order for results |
contact_get Get contact
Get detailed information about a single contact by resource name.
| Parameter | Type | Description |
|---|---|---|
resourceName * | string | The resource name of the contact (e.g., "people/c12345") |
contact_search Search contacts
Search for contacts by name, email, or phone number.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query - matches against names, email addresses, and phone numbers |
pageSize | number | Maximum number of results (max 30) |
contact_create Create contact
Create a new contact in Google Contacts.
| Parameter | Type | Description |
|---|---|---|
addresses | array | Postal addresses |
birthdays | array | Birthdays |
clientData | array | Arbitrary client-scoped key-value data, private to the app that wrote it (distinct from customFields, which are visible in Google Contacts) |
customFields | array | Custom fields (arbitrary key-value pairs) |
emailAddresses | array | Email addresses |
events | array | Special dates (e.g., anniversaries) |
externalIds | array | External IDs (e.g. from another system, such as a CRM) |
familyName | string | Last name |
genders | array | Gender |
givenName | string | First name |
imClients | array | Instant messenger usernames |
jobTitle | string | Job title |
nicknames | array | Nicknames |
notes | string | Notes about the contact |
organization | string | Company/organization name |
phoneNumbers | array | Phone numbers |
relations | array | Relations to other people (e.g. spouse, manager) |
urls | array | URLs (e.g., website, blog, social media profile) |
contact_update Update contact
Update an existing contact. Use contact_get first to retrieve the current etag.
| Parameter | Type | Description |
|---|---|---|
etag * | string | The etag from the contact (required to prevent conflicts) |
resourceName * | string | The resource name of the contact to update (e.g., "people/c12345") |
addresses | array | Postal addresses (replaces existing) |
birthdays | array | Birthdays (replaces existing) |
clientData | array | Arbitrary client-scoped key-value data, private to the app that wrote it (replaces existing) |
customFields | array | Custom fields (replaces existing) |
emailAddresses | array | Email addresses (replaces existing) |
events | array | Special dates (replaces existing) |
externalIds | array | External IDs (replaces existing) |
familyName | string | Last name |
genders | array | Gender (replaces existing) |
givenName | string | First name |
imClients | array | Instant messenger usernames (replaces existing) |
jobTitle | string | Job title |
nicknames | array | Nicknames (replaces existing) |
notes | string | Notes about the contact |
organization | string | Company/organization name |
phoneNumbers | array | Phone numbers (replaces existing) |
relations | array | Relations to other people (replaces existing) |
urls | array | URLs (replaces existing) |
contact_delete Delete contact
Permanently delete a contact from Google Contacts.
| Parameter | Type | Description |
|---|---|---|
resourceName * | string | The resource name of the contact to delete (e.g., "people/c12345") |
contact_photo_update Update contact photo
Set (or replace) the photo for a contact. Provide the image as base64-encoded JPEG or PNG bytes.
| Parameter | Type | Description |
|---|---|---|
photoBytes * | string | The photo to set, as base64-encoded JPEG or PNG image bytes |
resourceName * | string | The resource name of the contact (e.g., "people/c12345") |
contact_photo_delete Delete contact photo
Remove the photo from a contact, reverting to the default avatar.
| Parameter | Type | Description |
|---|---|---|
resourceName * | string | The resource name of the contact (e.g., "people/c12345") |
directory_search Search directory
Search the organization directory for people (coworkers, etc). Requires directory.readonly scope.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query - matches against names, email addresses, and phone numbers |
pageSize | number | Maximum number of results |
pageToken | string | Page token for pagination |
contact_groups_list List contact groups
List contact groups (labels) from the user's Google Contacts, including system groups like "My Contacts" and "Starred".
| Parameter | Type | Description |
|---|---|---|
pageSize | number | Maximum number of contact groups to return |
pageToken | string | Page token for pagination |
contact_group_get Get contact group
Get detailed information about a single contact group, including its member resource names.
| Parameter | Type | Description |
|---|---|---|
resourceName * | string | The resource name of the contact group (e.g., "contactGroups/myContacts" or "contactGroups/1234") |
maxMembers | number | Maximum number of member resource names to return |
contact_group_create Create contact group
Create a new contact group (label) in Google Contacts.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name of the new contact group (must be unique) |
contact_group_update Update contact group
Rename an existing contact group. Use contact_group_get first to retrieve the current etag. System groups (e.g. "My Contacts", "Starred") cannot be renamed.
| Parameter | Type | Description |
|---|---|---|
etag * | string | The etag from the contact group (required to prevent conflicts) |
name * | string | New name for the contact group |
resourceName * | string | The resource name of the contact group to update (e.g., "contactGroups/1234") |
contact_group_delete Delete contact group
Permanently delete a contact group. System groups (e.g. "My Contacts", "Starred") cannot be deleted. By default this only removes the group/label; pass deleteContacts=true to also delete the member contacts.
| Parameter | Type | Description |
|---|---|---|
resourceName * | string | The resource name of the contact group to delete (e.g., "contactGroups/1234") |
deleteContacts | boolean | If true, also permanently delete the contacts that are members of this group (defaults to false, which only removes the group/label) |
contact_group_members_modify Modify contact group members
Add or remove contacts from a contact group. Use this to manage which contacts belong to a group/label. This is the only way to change group membership - the People API does not support editing it via contact_update.
| Parameter | Type | Description |
|---|---|---|
resourceName * | string | The resource name of the contact group (e.g., "contactGroups/1234") |
resourceNamesToAdd | array | Resource names of contacts to add to the group (e.g., "people/c12345") |
resourceNamesToRemove | array | Resource names of contacts to remove from the group (e.g., "people/c12345") |