AI Resources
Google Workspace CLI
Google Workspace CLI, or gws, provides commands for Google Workspace APIs, including Drive, Gmail, Calendar, Sheets, Docs, and Chat. Scripts and AI agents can use its structured JSON responses.
The repository notes that this is not an officially supported Google product and remains under development toward v1.0.
What it is
Workspace APIs in the terminal
The repository demonstrates listing Drive files, creating a spreadsheet, and preparing a Chat message through gws.
Why it stands out
Commands built from API descriptions
gws reads Google's Discovery documents to build commands from service resources and methods.
Availability
Binaries and source
Prebuilt releases, an npm installation path, and source-build instructions are available in the repository.
Why it matters
What makes it useful
A script can list Drive files or create a spreadsheet without assembling the HTTP request itself. The README gives command examples for those tasks and returns JSON that another program can read.
What to know
Where it fits
The command hierarchy follows Workspace API services, resources, and methods. Authentication connects it to a Google account or other configured credentials; a script or agent decides which operations to request.
Notable points
What stands out
gws schema shows a method's request and response shape, while --dry-run previews a request. The README demonstrates preparing a Chat message with --dry-run before sending. For large Drive inventories, --page-all emits one JSON line per API page rather than one combined document, so the receiving script needs to read that stream.
Before using
What to review
OAuth setup and service permissions are part of the workflow; installing the binary does not grant Workspace access.
gws auth setup requires gcloud; the repository also documents manual OAuth configuration.
For an unverified OAuth app, the README recommends selecting individual services rather than its broad recommended scope preset.
The project warns that commands may change before v1.0.
Check the original listing's documentation for current requirements, limitations, licensing and any relevant privacy or security considerations.
Reader fit
Who may find it relevant
People who already use scripts or agents to work with Google services.
Developers who want command help, schemas, and JSON around Workspace API operations.
It assumes comfort with terminal commands and authentication setup.
Editorial note
Why LifeHubber lists it
A Workspace script does not have to be tied to a fixed list of commands shipped with its CLI. gws builds its command surface from Google's API descriptions, bringing new methods into that same interface as the APIs change. That makes it worth exploring when maintaining automation across Workspace services: the service's current methods, rather than just the installed tool's version, help determine what the script can call.
Source links
Source materials
Reader note
About our listings
LifeHubber’s listings help you explore what’s available in AI and are not endorsements. We don’t independently verify every detail or guarantee that each listing is accurate, safe, actively maintained, or right for your needs.
What to explore next
Decide how much Workspace access the automation should receive.
Google Workspace CLI exposes Workspace operations to people and AI agents through structured commands and bundled skills. These next steps cover a broader integration layer, skill inspection, and the human controls around actions that can change files, messages, or calendars.
More in Ecosystem
Keep browsing this category
Explore more AI ecosystem resources.
Docling
docling-project/docling
A document conversion toolkit with structured text, tables and layout, native chunking for retrieval, Markdown and JSON exports, and local model configuration.
Transformers.js
huggingface/transformers.js
Hugging Face’s JavaScript library for running compatible AI models in a browser, with pipelines for tasks such as speech recognition, translation and image classification.
liteparse
run-llama/liteparse
A local parser for PDFs, Office files, and images with Markdown, JSON, and text output, complexity detection, several runtimes, bounding boxes, OCR flexibility, and screenshots.
For project maintainers
Listed here? You can use the badge.
If you maintain a project with a current LifeHubber listing, you may add the optional “Listed on LifeHubber AI Resources” badge to its README, docs, or website. No introduction or permission request is needed.
MORE ON LIFEHUBBER
Use AI on your own terms.
Explore more AI projects, stories, guides, tools and community insights across LifeHubber.