get_outline
Retrieve a document's heading outline, including flat entries and a nested tree, to locate sections and anchor edits by heading ID.
Instructions
Get the heading outline of a document.
Returns flat heading entries (id, level, title, path) plus a nested tree. Use heading ids to read sections or anchor edits.
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": {
"path": "<path>"
},
"name": "get_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| doc_hash | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||