Google has introduced a new command-line interface tool for its Workspace suite, aimed at simplifying integration with AI systems like OpenClaw. The tool bundles APIs from products such as Gmail, Drive, and Calendar, though it is not an officially supported product. This release emphasizes ease of use for both human developers and AI agents.
Google's Workspace CLI, announced on March 6, 2026, provides a streamlined way to access Workspace APIs through a command-line interface, facilitating connections with various AI tools. The tool is particularly designed to support agentic AI systems, offering structured JSON outputs and more than 40 agent skills. As Google Cloud director Addy Osmani noted, it enables actions such as loading and creating Drive files, sending emails via Gmail, creating and editing Calendar appointments, and sending chat messages.
While Google previously launched a Gemini command-line tool last year, the new Workspace CLI builds on this trend by bundling APIs from all Workspace products. It serves as a cleaner alternative to Model Context Protocol (MCP) setups, which often involve significant development overhead. The CLI includes an MCP server option for compatibility with bots like Claude and Gemini CLI. Importantly, it offers dedicated support for OpenClaw, an agentic AI platform that has gained traction recently by allowing users to build workflows through chat interfaces in apps.
However, users should note caveats: the tool is not an officially supported Google product, meaning functionality may change and potentially disrupt existing workflows. Google emphasizes its suitability for those comfortable with risks, as AI integrations like OpenClaw carry possibilities of hallucinations or security vulnerabilities such as prompt injection attacks. To get started, requirements include a Google account with Workspace access, OAuth credentials for a Google Cloud project, and Node.js.
For teams relying on multiple Workspace APIs, this CLI could reduce setup time, points of failure, and API usage compared to traditional methods. The release underscores Google's push toward AI-centric cloud tools, making it easier to connect agents to Workspace data without extensive custom development.