get_outline
Return a document's navigable section tree, providing anchors, heading paths, and chunk IDs per node. Returns an error for unknown documents.
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) |