Back to products
Google Workspace CLI

Google Workspace CLI

CLI for Google Workspace ecosystem built for humans & agents

Overview

What it is

Google Workspace CLI lets humans and AI agents control Drive, Gmail, Calendar, Sheets, Docs, and more from one CLI. Built from Google’s Discovery Service, it stays up to date automatically and includes 100+ agent skills to automate workflows without the MCP context tax.

Intent

I need it when

Integrate Google Workspace operations into CI/CD pipelines and automation workflows

gws supports multiple authentication methods (OAuth, service accounts, access tokens, credentials files) suitable for different deployment contexts (local, CI, server). Structured output and exit codes enable reliable pipeline integration.

Enable AI agents to manage Google Workspace without custom tooling

gws includes 100+ pre-built agent skills and structured JSON responses that allow LLMs and AI agents to interact with Google Workspace APIs directly. Agents can perform complex Workspace tasks autonomously using the included skill definitions.

Automate Google Workspace tasks programmatically from the command line

gws provides a unified CLI that dynamically builds commands from Google's Discovery Service, allowing users to automate Drive, Gmail, Calendar, Sheets, Docs, Chat, and Admin operations without writing custom API code. Structured JSON output enables easy integration into scripts and workflows.

Explore and test Google Workspace APIs without writing boilerplate code

gws provides built-in --help documentation for every resource, --dry-run preview mode, and auto-pagination. Users can introspect API schemas and test requests interactively before deploying to production.

Drop

Not a fit when

  • User needs a graphical user interface (GUI) instead of command-line interface
  • User lacks technical proficiency with terminal/CLI tools and command syntax
  • User requires official Google support or SLA guarantees (product explicitly states it is not officially supported by Google)
  • User needs to manage Google Workspace without setting up OAuth credentials and Google Cloud project
  • User operates in an environment where CLI tools are restricted or unavailable
Commercials

Pricing

Free, open-source software