读取飞书文档
read_feishu_docFetch Feishu document or wiki content from a URL or token and return it as Markdown. Choose full text, outline, a section, a block range, or keyword-based lookup.
Instructions
读取飞书云文档内容(支持文档链接 /docx/ 或知识库链接 /wiki/,自动路由),返回 Markdown。可读全文、目录大纲(scope=outline,先看结构)、指定章节(需 block id)、关键词定位。返回 JSON 含 document_id / revision_id / content。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | 文档 URL 或 token(支持 https://xxx.feishu.cn/docx/xxx、/wiki/xxx 或纯 token) | |
| scope | No | full=全文;outline=仅目录大纲(推荐先看结构);section=某标题整节(需 start_block_id);range=block 区间;keyword=关键词定位 | full |
| detail | No | simple=纯内容;with-ids=含 block id(后续局部更新时需要);full=含样式与编辑元数据 | simple |
| format | No | 输出格式,默认 markdown | markdown |
| keyword | No | scope=keyword 时的关键词,支持 'a|b' 或分支 | |
| max_depth | No | outline 的标题层级上限,其他 scope 为子树深度 | |
| end_block_id | No | range 的结束 block id,-1 表示读到文末 | |
| start_block_id | No | section/range 的起始 block id |