generate_toc
Creates a Table of Contents from document headings, automatically organizing content by heading levels. Customize the maximum heading level and title.
Instructions
Generate a Table of Contents from document headings.
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": "generate_toc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Table of Contents | |
| max_level | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |