manage_contacts_batch
Perform batch operations to create, update, or delete Google contacts. Provide the user email, action, and specific contact details or IDs.
Instructions
Batch create, update, or delete contacts. Consolidated tool replacing batch_create_contacts, batch_update_contacts, and batch_delete_contacts.
Args: user_google_email (str): The user's Google email address. Required. action (str): The action to perform: "create", "update", or "delete". contacts (Optional[List[Dict[str, str]]]): List of contact dicts for "create" action. Each dict may contain: given_name, family_name, email, phone, organization, job_title. updates (Optional[List[Dict[str, str]]]): List of update dicts for "update" action. Each dict must contain contact_id and may contain: given_name, family_name, email, phone, organization, job_title. contact_ids (Optional[List[str]]): List of contact IDs for "delete" action.
Returns: str: Result of the batch action performed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| updates | No | ||
| contacts | No | ||
| contact_ids | No | ||
| user_google_email | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |