
gws-docs-write
โ Officialโ 29,425by Google ยท part of googleworkspace/cli
Google Docs: Append text to a document.
This is the playbook your agent receives when the skill activates โ you don't need to read it to use the skill, but it's here to audit before installing.
docs +write
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Append text to a document
Flags
| Flag | Required | Default | Description |
|---|---|---|---|
--document | โ | โ | Document ID |
--text | โ | โ | Text to append (plain text) |
Examples
gws docs +write --document DOC_ID --text 'Hello, world!'Tips
- Text is inserted at the end of the document body.
- For rich formatting, use the raw batchUpdate API instead.
[!CAUTION] This is a write command โ confirm with the user before executing.
See Also
- gws-shared โ Global flags and auth
- gws-docs โ All read and write google docs commands
npx skills add googleworkspace/cli --skill "gws-docs-write" --full-depthRun this in your project โ your agent picks the skill up automatically.
Usage
gws docs +write --document <ID> --text <TEXT>No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under Apache-2.0โ you can use, modify, and redistribute it under that license's terms.
View the full license file on GitHub โ