outline
Build a document heading tree with stable node IDs, title paths, and page, slide, chapter, or Markdown byte ranges; pass a node ID to read that section.
Instructions
Return a document heading tree with stable node ids, title paths, page/slide/chapter ranges and Markdown byte ranges. PDF bookmarks or detected headings, Word headings, PowerPoint slides, EPUB chapters and headings, HTML and Markdown. format json (default) or tree. Pass a node id to read to fetch that 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": {
"source": "<source>"
},
"name": "outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ocr | No | OCR image-only pages; false by default. Accepts booleans or auto/vlm/tesseract. | |
| format | No | json (default) or tree. | |
| images | No | Embedded images: none (default) or refs. Match this option in node reads. | |
| source | Yes | File path or http(s) URL. | |
| timeline | No | Local video only: outline this bounded playback window from metadata (cuts, chapters, subtitles). No ASR, OCR or captions run. | |
| revisions | No | Word revisions: markup (default), accept or reject. Match node reads. |