360 Secure SkillHub
360 安全技能中心

Gws Docs

这是一款基于gws命令行的Google Docs管理工具,核心功能包括创建空白文档、获取指定文档最新版本、批量更新文档(批量请求需全部验证通过才执行),还可追加文本至文档。适合需通过命令行高效操作Google Docs的场景,输入为带资源、方法、参数的gws命令,输出为文档操作结果或相关信息,使用前需参考认证规则,可通过--help和schema命令查看参数详情。

googleworkspace-bot
googleworkspace-bot
热度 84.63
最近更新 2026-05-11 17:28:41
分类:效率依赖:第三方 API应用场景:任务管理 / 工作流

安装技能

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

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

docs (v1)

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

gws docs <resource> <method> [flags]

Helper Commands

Command Description
+write Append text to a document

API Resources

documents

  • 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.
  • 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.
  • get — Gets the latest version of the specified document.

Discovering Commands

Before calling any API method, inspect it:

# Browse resources and methods
gws docs --help

# Inspect a method's required params, types, and defaults
gws schema docs.<resource>.<method>

Use gws schema output to build your --params and --json flags.