read_document
Read Markdown or DOCX documents as structured blocks with stable IDs. Use section_id to target specific sections, pass doc_hash to detect external modifications, and see unmodeled features like images or footnotes.
Instructions
Read a Markdown or DOCX document as structured blocks.
Returns headings, paragraphs, list items and tables with stable IDs (h-0, p-1, li-2, tbl-0). Prefer section_id= over reading whole documents. Pass doc_hash from a previous call to detect external modifications. Lists unmodeled_features so you know what the model cannot represent (images, footnotes, ...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| doc_hash | No | ||
| section_id | No | ||
| include_spans | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||