Page outline
tocRetrieve a page's heading outline with levels, titles, and anchors to jump directly to a section, avoiding full-page reads.
Instructions
Heading outline of a page: level, title, anchor. Pick a section and read path#anchor instead of paging the whole page.
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": {
"docset": "<docset>",
"path": "<path>"
},
"name": "toc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Page path (any #anchor is ignored). | |
| docset | Yes | Docset slug, e.g. 'vite'. |