get_outline
Retrieve the heading structure of an Obsidian note. Output as a tree, markdown, or JSON, or get just the total count.
Instructions
Get the heading structure/outline of a note.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Note name (wikilink-style resolution) | |
| path | No | Exact path from vault root | |
| format | No | Output format | |
| total | No | Show only the total count |