Feishu

From kandada/fastclaw · View interactive version

Feishu is an AI agent skill from the GitHub repository kandada/fastclaw. 飞书技能 - 支持发送消息和操作飞书云文档(创建、读取、编辑、分享等)

How to use this skill

Skill file

Description

飞书技能 - 支持发送消息和操作飞书云文档(创建、读取、编辑、分享等)

Parameters

send 参数

create_doc 参数

get_doc 参数

read_doc 参数

append_doc 参数

update_doc 参数

list_files 参数

create_folder 参数

share_doc 参数

search_wiki 参数

exchange_user_token 参数

Example

发送消息: run_skills("feishu", {"action": "send", "message": "Hello", "session_id": "ou_xxx"})

创建文档: run_skills("feishu", {"action": "create_doc", "title": "我的文档"})

获取文档: run_skills("feishu", {"action": "get_doc", "document_id": "xxx"})

读取文档: run_skills("feishu", {"action": "read_doc", "document_id": "xxx"})

追加内容: run_skills("feishu", {"action": "append_doc", "document_id": "xxx", "content": "新段落内容"})

更新块内容: run_skills("feishu", {"action": "update_doc", "document_id": "xxx", "block_id": "yyy", "content": "更新的内容"})

列出文件: run_skills("feishu", {"action": "list_files"})

创建文件夹: run_skills("feishu", {"action": "create_folder", "name": "新文件夹"})

分享文档: run_skills("feishu", {"action": "share_doc", "document_id": "xxx", "member_id": "ou_xxx", "share_type": "edit"})

搜索知识库(需先授权):

  1. run_skills("feishu", {"action": "get_auth_url"}) - 获取授权URL
  2. 访问URL并授权,获取授权码
  3. run_skills("feishu", {"action": "exchange_user_token", "code": "授权码"}) - 交换Token
  4. run_skills("feishu", {"action": "search_wiki", "query": "关键词"})

检查用户Token: run_skills("feishu", {"action": "check_user_token"})

刷新用户Token: run_skills("feishu", {"action": "refresh_user_token"})

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.