feishu_update_doc
Update Feishu/Lark cloud documents by overwriting, appending, inserting, replacing, or deleting content using markdown and selection options.
Instructions
更新云文档(overwrite/append/replace_range/replace_all/insert_before/insert_after/delete_range,支持异步 task_id 查询)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No | 文档 ID 或 URL | |
| markdown | No | Markdown 内容 | |
| mode | Yes | 更新模式(必填) | |
| selection_with_ellipsis | No | 定位表达式:开头内容...结尾内容(与 selection_by_title 二选一) | |
| selection_by_title | No | 标题定位:例如 ## 章节标题(与 selection_with_ellipsis 二选一) | |
| new_title | No | 新的文档标题(可选) | |
| task_id | No | 异步任务 ID,用于查询任务状态 |