format_html
Formats and beautifies HTML code with adjustable indentation. Converts messy HTML into clean, readable structure.
Instructions
Format and beautify HTML code
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": {
"html": "<html>"
},
"name": "format_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML code to prettify | |
| indentSize | No | Number of spaces for indentation |