markdown_toc
Generate a table of contents from markdown headings. Limit included headings by setting a maximum depth.
Instructions
[PRO — 3 trial uses left] Generate a table of contents from markdown headings
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": "markdown_toc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | Yes | Markdown text to extract headings from | |
| max_depth | No | Maximum heading depth to include (default: 3) |