format_sql
Format and beautify SQL queries with customizable indentation. Clean up unformatted SQL for improved readability.
Instructions
Format and beautify SQL
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": {
"text": "<text>"
},
"name": "format_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to format | |
| indent_size | No | Number of spaces for indentation (1-8) |