get_document_outline
Retrieve a document's section hierarchy as headings only, enabling navigation by section without reading full content. Reduces token usage and improves precision when exploring documentation.
Instructions
Get the section hierarchy for a single document file, without content. Headings only, no content. Read a section with get_section.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo": "<repo>",
"doc_path": "<doc_path>"
},
"name": "get_document_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository identifier | |
| doc_path | Yes | Path to the document within the repository (e.g., 'README.md') |