Doco Get Document
doco_get_documentRetrieve a document's full content in Markdown, Tiptap JSON, or HTML, including version info and optional block anchors.
Instructions
读取整篇文档正文。format: markdown(读懂语义,附带 warnings 降级提示)/ tiptap-json(无损,精确编辑用)/ html。返回含 version(后续写入需携带)。annotate=anchors 时 markdown 每个顶层块带 锚点,改完整篇写回(PUT content format=markdown)可按锚点保留未改动块的 ID。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | 默认 tiptap-json | |
| locale | No | 读取指定语言版本;也可传 docset_ ID | |
| annotate | No | 仅 markdown:注入块锚点 | |
| document_id | Yes | 文档 ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||