markdown_generate_toc
Generate a table of contents from markdown headings. Returns TOC lines to use in documents without one.
Instructions
Generate a table of contents from markdown headings. Returns TOC lines without inserting them. Use this to create a new TOC for a document that doesn't have one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | Yes | The markdown content to generate TOC from. | |
| maxLevel | No | Maximum heading level to include (1-6). Defaults to 6. | |
| minLevel | No | Minimum heading level to include (1-6). Defaults to auto-detect from document. |