# feishu-docs > 飞书文档 / 知识库 / 云空间能力 - Author: Wilson Liu - Repository: WilsonLiu95/openclaw-skills - Version: 20260207040049 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/WilsonLiu95/openclaw-skills - Web: https://mule.run/skillshub/@@WilsonLiu95/openclaw-skills~feishu-docs:20260207040049 --- --- name: "feishu-docs" description: "飞书文档 / 知识库 / 云空间能力" --- # Feishu Docs Skill ## 环境变量 - `FEISHU_APP_ID` - `FEISHU_APP_SECRET` ## API ### 文档 (Docx) - `createDocument(title, folderToken?)` 创建文档 - `getDocument(documentId)` 获取文档信息 - `getDocumentRawContent(documentId)` 获取文档纯文本 - `listDocumentBlocks(documentId, pageToken?, pageSize?)` 列出块 - `appendText(documentId, text, targetBlockId?)` 追加文本 - `appendBlocks(documentId, blocks, targetBlockId?)` 批量追加块 ### 权限 (Drive Permission) - `getPublicPermission(token, type?)` 获取公开权限 - `updatePublicPermission(token, type, data)` 更新公开权限 - `addMemberPermission(token, type, memberId, memberType, role)` 添加协作者权限 ### 云空间 (Drive) - `listFiles(folderToken?, pageToken?, pageSize?)` 列出文件 - `uploadFile(filePath, parentNode, fileName?)` 上传文件 - `createFolder(name, folderToken)` 创建文件夹 ### 知识库 (Wiki) - `listWikiSpaces(pageToken?, pageSize?)` 列出知识库空间 - `getWikiSpace(spaceId)` 获取空间信息 - `listWikiNodes(spaceId, parentNodeToken?, pageToken?, pageSize?)` 列出节点 - `getNodeInfo(nodeToken)` 获取节点信息