Skip to navigation

Google Workspace

Connect your AI agents to Google Workspace.

Authentication: OAuth. See Magic Link for the runtime auth flow, or Application credentials to bring your own OAuth app.

Sample use cases

  • Create a Workspace account for a new hire in the Sales org unit and add them to the sales group.
  • List every user in the Contractors org unit.
  • List the ChromeOS devices in the Support org unit.

Available Tools

add_member

Add an existing Workspace user or group to a group with the specified role.

create_group

Create a Workspace group. Choose a unique email address and a display name.

create_org_unit

Create an organizational unit under an existing parent; use parent_org_unit_path ’/’ for a top-level unit.

create_user

Create a Workspace user account. Requires a unique primary email, given name, and family name.

delete_group

Delete a Workspace group and its group address.

delete_org_unit

Delete an organizational unit permanently.

delete_user

Delete a Workspace user account. The account leaves the active domain and can be restored during Google’s recovery period with undelete_user.

get_calendar_resource

Get one calendar resource (room or equipment) by immutable ID, with its capacity, location and features.

get_chromeos_device

Get one managed ChromeOS device by immutable ID: status, model, OS and firmware versions, assigned user and org unit.

get_group

Get a Workspace group by email address or immutable ID. Use list_groups to find valid keys.

get_member

Get one Workspace group membership by group and member email or immutable ID.

get_mobile_device

Get one user-owned mobile device by resource ID: owner, model, OS, status, last sync and compromise status.

get_org_unit

Get one organizational unit by full path or immutable ID.

get_role

Get one admin role by immutable ID, with its privileges and whether it is a system or super admin role.

get_schema

Get one custom user schema by name or immutable ID, with its fields, types and who can read them.

get_user

Get a Workspace user by primary email or immutable user ID.

has_member

Check whether a user is a member of a Workspace group, directly or through a nested group.

list_calendar_resources

List bookable calendar resources such as meeting rooms and equipment, filtered by building, floor, capacity or category.

list_chromeos_devices

List managed ChromeOS devices with status, model, OS version, last sync and assigned user.

list_groups

List Workspace groups by customer, member, or Google Directory query, with pagination.

list_members

List direct members of a Workspace group, optionally filtering by role.

list_mobile_devices

List user-owned mobile devices (Android, iOS, Google Sync) registered with the account, with owner, model, OS, status and last sync.

list_org_units

List organizational units under a path, or from the root.

list_role_assignments

List which users and groups hold admin roles.

list_roles

List admin roles, both Google’s predefined and custom ones, without privileges (use get_role for those, or fields='rolePrivileges').

list_schemas

List the custom user schemas defined for the account, with their fields and types.

list_users

List Workspace domain users with Directory query filters and page tokens.

remove_member

Remove a user or group from a Workspace group.

undelete_user

Restore a recently deleted Workspace user to an organizational unit.

update_group

Patch a Workspace group’s properties, such as name or description.

update_member

Change an existing member’s Workspace group role.

update_org_unit

Rename an organizational unit, change its description, or move it under another parent.

update_user

Patch a Workspace user’s Directory fields, such as suspended, name, or orgUnitPath.