manage_contact_group
Create, update, delete, or modify members of a contact group. Add or remove contacts to keep groups current.
Instructions
Create, update, delete, or modify members of a contact group.
Side effects: create/update/delete mutates the group itself; modify_members shifts contact membership without deleting contacts (unless action="delete" with delete_contacts=True). For reading use list_contact_groups / get_contact_group. Requires the contacts OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | The user's Google email address (authenticated account). | |
| action | Yes | "create", "update", "delete", or "modify_members". | |
| group_id | No | Group ID (short or "contactGroups/<id>"). Required for update, delete, modify_members. | |
| name | No | New group display name. Required for create and update. | |
| delete_contacts | No | Only with action="delete". True also deletes contacts inside the group; False (default) keeps them. | |
| add_contact_ids | No | For modify_members — contact IDs to add. Short or "people/<id>"; auto-prefixed. | |
| remove_contact_ids | No | For modify_members — contact IDs to remove. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |