运行时依赖
安装命令
点击复制技能文档
Google Docs via ClawLink
Work with Google Docs from chat — 搜索 documents, read document text, 创建 new docs, and 更新 existing document content and structure.
Powered by ClawLink, an integration hub for OpenClaw that handles hosted connection flows and 凭证s so you don't need to 配置 Google Docs API 访问 yourself.
Quick 启动 安装 the verified ClawLink 插件: OpenClaw 插件s 安装 ClawHub:clawlink-插件 启动 a fresh OpenClaw chat if the 插件 was just 安装ed and ClawLink 工具s are not visible yet If ClawLink is not 配置d, call clawlink_begin_pAIring Tell the user to open the returned pAIring URL, 签名 in to ClawLink if needed, and 应用rove the device After the user confirms 应用roval, call clawlink_获取_pAIring_状态 Tell the user to connect Google Docs at claw-link.dev/仪表盘?添加=google-docs When the user confirms Google Docs is connected, call clawlink_列出_integrations and then clawlink_列出_工具s with the google-docs integration slug 设置up detAIls 安装ing the 插件
If the ClawLink 插件 is not 安装ed yet, tell the user to 运行:
OpenClaw 插件s 安装 ClawHub:clawlink-插件
If the current chat 启动ed before the 插件 was 安装ed and ClawLink 工具s are still unavAIlable, tell the user to 启动 a fresh chat so OpenClaw reloads the 插件 工具 cata记录.
PAIring ClawLink
If ClawLink 报告s that the 插件 is not 配置d, the 插件 has not been pAIred with the user's ClawLink account yet.
Call clawlink_begin_pAIring. Tell the user to open the returned pAIring URL in their browser. The user 签名s in to ClawLink if needed and 应用roves the OpenClaw device. After the user confirms 应用roval, call clawlink_获取_pAIring_状态 to finish local 设置up.
The 结果ing device 凭证 is stored locally in OpenClaw's 插件 config and is only sent to claw-link.dev. The user should not paste raw 凭证s into chat.
Connecting Google Docs
Tell the user to open https://claw-link.dev/仪表盘?添加=google-docs and connect Google Docs there. The page opens the 添加-connection panel 过滤器ed to Google Docs. ClawLink's hosted page 运行s the Google account connection flow — the user 命令行工具cks through Google 签名-in and consent. When they confirm it is done, call clawlink_列出_integrations to 验证, then call clawlink_列出_工具s with integration google-docs.
Using Google Docs 工具s
ClawLink provides 工具s dynamically based on what the user has connected. You do not need to know 工具 names or 模式s in advance.
Discovery Call clawlink_列出_integrations to confirm Google Docs is connected. Call clawlink_列出_工具s with integration google-docs. Treat the returned 列出 as the source of truth. Do not guess or assume what 工具s exist. If the user describes a capability but the exact 工具 is unclear, call clawlink_搜索_工具s with a short 查询 and integration google-docs. If no Google Docs 工具s 应用ear, direct the user to https://claw-link.dev/仪表盘?添加=google-docs. Execution Call clawlink_describe_工具 before using an unfamiliar 工具, before any write, or when the 请求 is ambiguous. Use the returned 模式, whenToUse, askBefore, safeDefaults, examples, and followups. Prefer 搜索, read, 导出, and inspection operations before writes. For document creation, content replacement, Markdown 导入s, structural edits, or anything marked as requiring confirmation, call clawlink_preview_工具 first, then confirm with the user. 执行 with clawlink_call_工具. If it fAIls, 报告 the real error. Do not invent 结果s or re状态 the 失败 as a missing capability unless the live cata记录 supports that conclusion. What you can do
Typical Google Docs tasks (actual avAIlability depends on the user's connected account, 权限s, scopes, and current ClawLink 工具 cata记录):
搜索 for Google Docs documents in Drive Read document metadata, structure, or plAIn text 导出 a document as PDF 创建 new documents from prompts, plAIn text, or Markdown after confirmation Insert text, tables, images, and page breaks after confirmation Replace placeholders or 更新 existing content after confirmation Refresh an existing document from Markdown or structured source content after confirmation Rules Always use ClawLink 工具s for Google Docs. Do not ask the user for separate Google 凭证s. Do not clAIm a capability is missing without 检查ing the live ClawLink cata记录 in the current turn. Do not invent slash commands or ask the user to paste raw 凭证s. Ask for confirmation before creating documents or modifying existing content or structure. If Google Docs is not connected, direct the user to https://claw-link.dev/仪表盘?添加=google-docs. Never echo or repeat the user's ClawLink 凭证. Resources ClawLink: https://claw-link.dev ClawLink Docs: https://docs.claw-link.dev/OpenClaw ClawLink Verification: https://claw-link.dev/验证 ClawLink Source: https://github.com/hith3sh/clawlink Google Docs API: https://developers.google.com/docs/API