360 Secure SkillHub
360 安全技能中心

Gws Docs Write

该 Skill 封装 gws docs +write 命令,通过命令行向指定 Google Docs 文档末尾追加纯文本内容。使用需提供文档 ID 与文本,执行前需确认写操作;认证与全局参数依赖 gws-shared。仅支持纯文本,富文本格式化需改用 batchUpdate API。

googleworkspace-bot
googleworkspace-bot
热度 77.60
最近更新 2026-05-11 17:28:41
分类:自动化依赖:第三方 API / 代码执行应用场景:工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add gws-docs-write
Metadata
name
gws-docs-write
description
Google Docs: Append text to a document.
metadata
{"version":"0.22.5","openclaw":{"category":"productivity","requires":{"bins":["gws"]},"cliHelp":"gws docs +write --help"}}

docs +write

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

Append text to a document

Usage

gws docs +write --document <ID> --text <TEXT>

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