get_outline
Retrieve the navigable section tree for a document by its ID, returning anchor, heading path, and chunk data per section. Errors on unknown document ID.
Instructions
Return the navigable section tree for a document. Each OutlineNode carries an anchor (the section's citation token), heading_path (root → leaf), heading_text, level, and chunk_ids (v1 chunk-table IDs in that section). Consume anchor + heading_path as the section-level half of the citation packet. Unknown doc_id returns an error response with {error:'doc_not_found', doc_id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | Opaque DocId (obsidian-fs://<vault>/<path>) of the document | |
| vaults | No | Optional vault filter; usually omitted (the DocId names a vault) |