Get Document Outline
get_document_outlineRetrieve a document's heading outline to navigate to specific sections, or list all indexed documents with their ingest status when no document ID is given.
Instructions
Hierarchical heading tree with locators and chunk seq spans. Costs almost no context — use it to orient before targeted get_chunk_context reads, and jump straight to a section with document_id + chunk_seq_start. Never returns body text. Call it with no document_id to list the library. It also reports ingest progress: a document still being indexed shows status 'processing' with a rising chunk_count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | ||
| document_id | No | Omit to list every ingested document with its status |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| format | No | ||
| entries | No | ||
| documents | No | ||
| chunk_count | No | ||
| document_id | No | ||
| error_message | No | ||
| ingest_status | No | ||
| locator_count | No | ||
| ingest_warning | No | ||
| locator_scheme | No |