akb_drill_down
List document headings or read section bodies. Use outline mode to map structure, then filter sections by title or pattern to extract the exact content you need.
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 |
| pattern | No | Substring grep inside matched section bodies (case-insensitive). Used in `sections` mode. | |
| section | No | Section heading filter (partial match). Used in `sections` mode. |