Doco Update Document
doco_update_documentWrite a document's complete content back in Markdown, HTML, or TipTap JSON. Version-protected writes avoid overwriting concurrent changes, and anchor comments keep unchanged block IDs stable.
Instructions
整篇写回文档正文。markdown 写回凭 锚点保留未改动块 ID(配合 doco_get_document 的 annotate=anchors);tiptap-json 为整篇无损替换。强烈建议带 base_version,409 时重读合并重试。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | 正文格式 | |
| content | No | markdown / html 正文文本 | |
| document | No | tiptap-json 文档对象 | |
| document_id | Yes | Target document ID. | |
| base_version | No | 读取时拿到的 version(强烈建议提供) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||