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 an existing Workspace user or group to a group with the specified role.
Create a Workspace group. Choose a unique email address and a display name.
Create an organizational unit under an existing parent; use parent_org_unit_path ’/’ for a top-level unit.
Create a Workspace user account. Requires a unique primary email, given name, and family name.
Delete a Workspace group and its group address.
Delete an organizational unit permanently.
Delete a Workspace user account. The account leaves the active domain and can be restored during Google’s recovery period with undelete_user.
Get one calendar resource (room or equipment) by immutable ID, with its capacity, location and features.
Get one managed ChromeOS device by immutable ID: status, model, OS and firmware versions, assigned user and org unit.
Get a Workspace group by email address or immutable ID. Use list_groups to find valid keys.
Get one Workspace group membership by group and member email or immutable ID.
Get one user-owned mobile device by resource ID: owner, model, OS, status, last sync and compromise status.
Get one organizational unit by full path or immutable ID.
Get one admin role by immutable ID, with its privileges and whether it is a system or super admin role.
Get one custom user schema by name or immutable ID, with its fields, types and who can read them.
Get a Workspace user by primary email or immutable user ID.
Check whether a user is a member of a Workspace group, directly or through a nested group.
List bookable calendar resources such as meeting rooms and equipment, filtered by building, floor, capacity or category.
List managed ChromeOS devices with status, model, OS version, last sync and assigned user.
List Workspace groups by customer, member, or Google Directory query, with pagination.
List direct members of a Workspace group, optionally filtering by role.
List user-owned mobile devices (Android, iOS, Google Sync) registered with the account, with owner, model, OS, status and last sync.
List organizational units under a path, or from the root.
List which users and groups hold admin roles.
List admin roles, both Google’s predefined and custom ones, without privileges (use get_role for those, or fields='rolePrivileges').
List the custom user schemas defined for the account, with their fields and types.
List Workspace domain users with Directory query filters and page tokens.
Remove a user or group from a Workspace group.
Restore a recently deleted Workspace user to an organizational unit.
Patch a Workspace group’s properties, such as name or description.
Change an existing member’s Workspace group role.
Rename an organizational unit, change its description, or move it under another parent.
Patch a Workspace user’s Directory fields, such as suspended, name, or orgUnitPath.