read_section
Read a specific section from Markdown, YAML, JSON, or CSV files by heading name, top-level key, or row range. Avoid reading the entire file to save tokens.
Instructions
Read a specific section from Markdown, YAML, JSON, or CSV files. Markdown: by heading name. YAML/JSON: by top-level key. CSV: by row range (rows:1-50). Much cheaper than reading the whole file. DOCS/DATA ONLY — heading is required; this does NOT read code by line/symbol. For source files use read_range (line range) or read_symbol (one symbol).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to .md, .yaml, .yml, .json, or .csv file | |
| heading | Yes | Section heading (Markdown), top-level key (YAML/JSON), or row range "rows:1-50" (CSV). Case-insensitive. |