list_headings
Extract all headings from a markdown file to create a structured table of contents for navigation and content overview.
Instructions
List all headings (# through ######) in a markdown file as a table of contents.
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": {
"file": "<file>"
},
"name": "list_headings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the markdown file |