Install
openclaw skills install feishu-whiteboard-v2Create and fill Feishu/Lark Whiteboard (画板) content from natural language requests by generating Mermaid or PlantUML code and calling Feishu Open API directly. Use when user asks to draw流程图/思维导图/架构图/时序图 in Feishu docs or wants AI-generated board diagrams.
openclaw skills install feishu-whiteboard-v2将用户自然语言需求转成 Mermaid/PlantUML,然后通过飞书开放平台 API 创建并填充画板。
scripts/feishu-board.js 完成“创建画板块 + 填充节点”。在执行前确认:
FEISHU_APP_IDFEISHU_APP_SECRET可选:
FEISHU_BASE_URL(默认 https://open.feishu.cn/open-apis)docId: 文档 ID(非完整 URL)parentBlockId: 插入位置父块(通常可先用 docId 作为根块)syntaxType: mermaid 或 plantumlcodeFile: 临时代码文件路径先把图语法写入临时文件,再执行一体化命令:
node skills/feishu-whiteboard/scripts/feishu-board.js run \
--doc-id <DOC_ID> \
--parent-block-id <PARENT_BLOCK_ID> \
--syntax-type mermaid \
--code-file /tmp/board.mmd
run: 一步完成(创建画板块 + 填充语法节点)create-whiteboard: 只创建画板块并解析 whiteboard tokenfill-diagram: 向已有画板 token 填充 Mermaid/PlantUMLget-tenant-token: 仅测试鉴权board:whiteboard:node:createboard:whiteboard:node:readdocx:documentblock_id,提示用户检查文档块结构权限或改用已有 whiteboard token。需要接口细节时读取:
references/feishu-board-api.md