markdown_format
Format markdown for readability by aligning tables and refreshing table of contents. Control which formatting steps apply with options.
Instructions
Format markdown for human readability. Combines table formatting, /toc marker replacement, and TOC refresh in one operation. Use options to control which formatting is applied.
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_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | Yes | The markdown content to format. | |
| processTOC | No | Whether to process TOC (replace /toc markers and refresh existing TOC). Defaults to true. | |
| formatTables | No | Whether to format tables. Defaults to true. |