akb_drill_down
Read section-level content or list headings of a document. Use 'sections' mode with optional filters to get body content, or 'outline' mode to see structure.
Instructions
Read section-level (L3) content of a document, or list its section headings. Two modes:
mode='sections'(default): return body content of matched sections. Filter withsection(heading substring) and/orpattern(substring grep on body). On empty match the response carries anoutlineso you can retry.mode='outline': return heading paths only (no bodies). Use this to discover the document's structure cheaply before deciding which section to read. Returns {uri, sections|outline, returned, total?, truncated?, hint?}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | Document URI | |
| mode | No | 'sections' for body content, 'outline' for heading paths only. | sections |
| section | No | Section heading filter (partial match). Used in `sections` mode. | |
| pattern | No | Substring grep inside matched section bodies (case-insensitive). Used in `sections` mode. |