Tooluck logoTooluck
SKILL.md

gws-docs

Agent skill fromgoogleworkspace/cli

Read and write Google Docs.

How to install gws-docs

install gws-docs
# install the cli pack with the skills CLI
npx skills add googleworkspace/cli

# or add only this skill to Claude Code: copy the folder

skills/gws-docs/

# into

~/.claude/skills/gws-docs/ (all projects)

.claude/skills/gws-docs/ (one project)

skills/gws-docs/SKILL.md

Apache-2.0Full file
1# docs (v1)
2
3> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
4
5```bash
6gws docs <resource> <method> [flags]
7```
8
9## Helper Commands
10
11| Command | Description |
12|---------|-------------|
13| [`+write`](../gws-docs-write/SKILL.md) | Append text to a document |
14
15## API Resources
16
17### documents
18
19 - `batchUpdate` — Applies one or more updates to the document. Each request is validated before being applied. If any request is not valid, then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. Other requests do not need to return information; these each return an empty reply. The order of replies matches that of the requests.
20 - `create` — Creates a blank document using the title given in the request. Other fields in the request, including any provided content, are ignored. Returns the created document.
21 - `get` — Gets the latest version of the specified document.
22
23## Discovering Commands
24
25Before calling any API method, inspect it:
26
27```bash
28# Browse resources and methods
29gws docs --help
30
31# Inspect a method's required params, types, and defaults
32gws schema docs.<resource>.<method>
33```
34
35Use `gws schema` output to build your `--params` and `--json` flags.

Excerpt shown under the repository's Apache-2.0 license.

More skills in cli

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates