header-langage
简体中文
繁體中文
English
Tiếng Việt
한국어
日本語
ภาษาไทย
Türkçe
Scan to Download the APP
Partnered With:

Google Workspace Official CLI Launches on GitHub, Single Command Line Operation for Full Suite of Google Docs

According to 1M AI News monitoring, the Google Workspace team released a command-line tool, gws, on GitHub, encapsulating the APIs of all major products such as Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, etc., into structured commands. All outputs are in JSON format, designed for AI Agents and developers. This tool does not have a predefined list of commands; it dynamically generates commands at runtime by reading Google's Discovery Service, allowing immediate invocation of newly added Google APIs without waiting for a version update.

Agent access supports three methods: directly calling it as a shell command; starting an MCP Server through gws mcp for use by MCP clients like Claude Desktop, Gemini CLI, etc.; or accessing it through the built-in 100+ SKILL.md files covering 50 common operation recipes. Authentication supports various scenarios such as local OAuth login, Service Account, direct token input, with credentials locally encrypted. Additionally, it integrates Google Cloud Model Armor, which automatically scans for injection attack keywords in API responses before reaching the Agent.

This project is led by Justin Poehnelt, a member of the Google Workspace Developer Relations team, with Addy Osmani, Google Cloud AI Director, personally announcing it on X. The repository states "This is not an officially supported Google product," positioning it as Google-recognized but without service commitments. The current version is v0.3.4, under the Apache 2.0 license, and within hours of going live, the GitHub Star count exceeded 4000.

举报 Correction/Report
Correction/Report
Submit
Add Library
Visible to myself only
Public
Save
Choose Library
Add Library
Cancel
Finish