Google Workspace CLI / gws
CLI for developers and coding agents · Free
A CLI for Google Workspace APIs with JSON responses, discovery schemas, pagination, and agent skills; it is not an officially supported Google product.
Also known as: googleworkspace/cli
What you can use for free
The package code and instructions are available under the stated license; the installed agent and required dependencies must be provided separately.
Paid features and costs
The Workspace account, API quotas, and AI model have separate terms.
Access and limitations
The package code and instructions are available under the stated license; the installed agent and required dependencies must be provided separately. The Workspace account, API quotas, and AI model have separate terms.
Use cases
- Check available APIs and OAuth scopes, then test a read-only file-list request.
- Review the request schema and a dry run of the required action; apply it to test data.
Example workflow
A possible workflow; this is not a report of hands-on testing.
A CLI for Google Workspace APIs with JSON responses, discovery schemas, pagination, and agent skills; it is not an officially supported Google product.
Before you start
- A Google Cloud project, OAuth credentials, and test Workspace account.
Steps
- Check available APIs and OAuth scopes, then test a read-only file-list request.
- Review the request schema and a dry run of the required action; apply it to test data.
- Compare the result with the workflow's goal; after changing the project, run its standard checks.
Check your result
- OAuth permits the required operation; pagination and the JSON response are handled correctly.
- Check connection permissions and dependency terms; confirm external service costs if the workflow requires them.
Choosing Google Workspace CLI / gws
Check available APIs and OAuth scopes, then test a read-only file-list request.
Choose this when
- Check available APIs and OAuth scopes, then test a read-only file-list request.
- Review the request schema and a dry run of the required action; apply it to test data.
Requirements
- Prepare an OAuth project and an agreed API/scope set; add the required test user for Testing mode.
Things to consider
- Costs and limits of free use: The Workspace account, API quotas, and AI model have separate terms.
- Terms of use: Apache-2.0 for this repository; connected services, models, and data have separate terms.
- The CLI is not an officially supported Google product; the README warns about interface changes during early development.
Frequently asked questions
What can you use for free in Google Workspace CLI / gws?
The package's code and instructions are available under the stated license; an installed agent and required dependencies must be provided separately.
What additional costs might arise with Google Workspace CLI / gws?
The Workspace account, API quotas, and AI model have separate terms.
What terms of use matter for Google Workspace CLI / gws?
Apache-2.0 for this repository; connected services, models, and data have separate terms.
How do you get started with Google Workspace CLI / gws?
Check available APIs and OAuth scopes, then test a read-only file-list request. Review the request schema and a dry run of the required action; apply it to test data. Compare the result with the workflow's goal; after changing the project, run its standard checks.
Why might authorization with a broad scope set fail?
The README notes OAuth consent restrictions in Testing mode and recommends choosing specific services/scopes rather than the entire broad set. The account must be added as a test user if the application is in this mode.
License
Apache-2.0 for this repository; connected services, models, and data have separate terms.
Apache 2.0 — permissive license with patent terms
You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.
License termsTechnologies and topics
- Google Workspace CLI / gws
- googleworkspace
- Agent Skills