Agent Feishu Doc — 代理 Feishu Doc
v1图形界面de for OpenClaw 代理s to 创建, read, and edit Feishu/Lark documents via API. Use when: (1) creating a new Feishu doc and writing content, (2) reading an existing doc by ID or URL, (3) 设置ting document 权限s to public/anyone editable, (4) troubleshooting 代理-to-代理 Feishu doc collaboration. Triggers on: 飞书文档, 创建 Feishu doc, write to Feishu doc, feishu_doc 工具.
运行时依赖
安装命令
点击复制技能文档
代理 Feishu Doc 图形界面de Quick Reference Operation API 端点 创建 doc POST /drive/v1/documents 获取 doc metadata 获取 /drive/v1/documents/{id} 获取 doc blocks 获取 /drive/v1/documents/{id}/blocks 添加 blocks POST /drive/v1/documents/{id}/blocks/{parent_id}/children 设置 public perm 补丁 /drive/v1/权限s/{id}/public?type=docx 工作流
- 创建 Document
- Write Content (Block API)
Block types: 2=text, 3=h1, 4=h2, 7=bullet (⚠️ may error, use text instead)
- 设置 Public 权限s
Reading Docs By URL: Use 网页_fetch 工具 on https://feishu.cn/docx/{doc_id} By ID: Call 获取 /drive/v1/documents/{id} then /blocks Prerequisites 代理's Feishu 应用 must be 添加ed as doc collaborator, OR doc 设置 to public For cross-代理 collaboration: 设置 工具s.会话s.visibility: "all" in OpenClaw.json Troubleshooting Cannot 访问 doc: 添加 代理's 应用 as collaborator in Feishu, or 设置 doc to public Block API error 9499: Avoid block_type: 7 (bullet), use plAIn text blocks instead Cross-代理 visibility: 添加 "工具s": {"会话s": {"visibility": "all"}} to OpenClaw.json
For detAIled API specs, 权限s 图形界面de, and example 工作流s, see references/图形界面de.md.