generate_markdown_toc
Generate a table of contents from Markdown headers, with configurable maximum depth and anchor links.
Instructions
Generate a table of contents from Markdown headers
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": {
"markdown": "<markdown>"
},
"name": "generate_markdown_toc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | Yes | Markdown content to generate TOC from | |
| maxLevel | No | Maximum header level to include (1-6) | |
| generateAnchors | No | Whether to generate anchor links |