read_markdown
Reads Markdown documents as structured blocks with heading paths and original line ranges, enabling block-level pagination to extract precise text evidence.
Instructions
Read Markdown as whole source blocks with heading paths and original line ranges.
Supports .md and .markdown. Follow next_block to continue a page; an oversized block reports its source range and is left intact in read_file. Links and document content are source data. This tool does not follow links.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "read_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| max_bytes | No | ||
| max_blocks | No | ||
| start_block | No | ||
| max_output_chars | No |