Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Read and write Google Docs documents via the Google Workspace CLI.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
SKILL.md
1---2name: gws-docs3description: "Read and write Google Docs."4metadata:5version: 0.22.56openclaw:7category: "productivity"8requires:9bins:10- gws11cliHelp: "gws docs --help"12---1314# docs (v1)1516> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.1718```bash19gws docs <resource> <method> [flags]20```2122## Helper Commands2324| Command | Description |25|---------|-------------|26| [`+write`](../gws-docs-write/SKILL.md) | Append text to a document |2728## API Resources2930### documents3132- `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.33- `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.34- `get` — Gets the latest version of the specified document.3536## Discovering Commands3738Before calling any API method, inspect it:3940```bash41# Browse resources and methods42gws docs --help4344# Inspect a method's required params, types, and defaults45gws schema docs.<resource>.<method>46```4748Use `gws schema` output to build your `--params` and `--json` flags.4950