The Google Workspace CLI is a command-line interface and Google API client designed to automate tasks across Google Workspace services. It functions as a cloud productivity automator that uses the Google Discovery Service to dynamically generate command structures and parameter requirements at runtime.
The project distinguishes itself by providing a specialized AI agent toolset, exposing a server over standard input and output to provide structured tool definitions and skills for AI clients. It includes security layers for AI content sanitization to protect against prompt injection and utilizes template-based filtering to remove sensitive data from API responses.
The tool covers a broad range of capabilities, including the management of documents, spreadsheets, slides, and forms, as well as administrative control over users and domains. It supports multi-step workflow orchestration through predefined recipes and provides comprehensive identity management via OAuth2 flows and service accounts. Additional functionality includes email and chat communication, calendar and task management, and the ability to stream large datasets as newline-delimited JSON.