get_document_outline
Extract a document's heading structure and table of contents to understand its organization before reading specific sections; detects numbered sections, ALL-CAPS headings, and Markdown headings.
Instructions
Extract the heading structure and table of contents from a document. Use this to understand document organization before reading specific sections; detects numbered sections, ALL-CAPS headings, and markdown # headings. Read-only.
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": {
"filename": "<filename>"
},
"name": "get_document_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | The document filename to extract outline from |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outline | Yes |