Read markdown with images
read_md_with_imagesRead markdown files, including a specific section or line range, and return the markdown with inline image blocks for referenced images.
Instructions
Read a markdown file or selected section/range and return the markdown with interleaved image blocks. Use section for an exact heading; if it is missing, line_range is used when provided. Optionally use index_md first to discover headings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | Local path or HTTP(S) URL of the markdown file to read. | |
| section | No | Exact heading to read, including marker, for example '## Introduction'. When matched, takes precedence over line_range. | |
| line_range | No | Inclusive 1-based document line range, for example [1, 10]. Used when section is omitted or not found. | |
| max_images | No | Maximum referenced images to inline as image blocks. Defaults to 10. |