generate_toc
Create a table of contents from document headings, with configurable depth 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 |
|---|---|---|---|
| max_level | No | ||
| title | No | Table of Contents |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |