
Command-line interface for Google Workspace APIs, built for humans and AI agents.
Visit WebsitePros
Cons
Ratings aggregated from independent review platforms. Learn more
$0 USD per month
$4 USD per user/month
$21 USD per user/month
No reviews yet. Be the first to review Google Workspace CLI!
Top alternatives based on features, pricing, and user needs.
The Google Workspace CLI (gws) does not ship with a static list of commands. Instead, it reads Google's own Discovery Service at runtime. This dynamic approach means that whenever Google Workspace adds a new API endpoint or method, gws automatically picks it up and makes it available as a command without requiring a CLI update.
AI agent skills are pre-defined capabilities within the gws CLI that allow AI agents (like LLMs) to interact with Google Workspace. By providing structured JSON output and over 40 included skills, gws enables LLMs to manage Workspace tasks such as listing files, creating spreadsheets, or sending chat messages without needing custom integration or parsing complex API responses.
Yes, the CLI supports multiple authentication workflows designed for various environments. Besides interactive desktop use, it can be configured for CI/CD and server environments using methods like existing OAuth access tokens via the `GOOGLE_WORKSPACE_CLI_TOKEN` environment variable or existing credentials files via `GOOGLE_WORKSPACE_CLI_CREDENTIALS_FILE`.
The `--dry-run` flag allows users to preview the API request that would be sent without actually executing it, which is useful for debugging and understanding the command's effect. The `gws schema` command enables introspection of any method's request/response schema, providing detailed information about the expected input and output structure for a specific Google Workspace API call.
Yes, if your OAuth app is unverified (in testing mode), Google limits consent to approximately 25 scopes. The recommended scope preset for gws includes over 85 scopes, which will fail for unverified apps, especially for @gmail.com accounts. To work around this, you should choose individual services during `gws auth login` (e.g., `gws auth login -s drive,gmail,sheets`) to filter the scope picker and request fewer scopes.
Source: github.com