sql_format
Format SQL queries with proper indentation and clause separation. Supports standard, PostgreSQL, MySQL, and SQLite dialects.
Instructions
Format and prettify SQL queries with proper indentation and clause separation [PRO - 3 free trials]
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": {
"sql": "<sql>"
},
"name": "sql_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL query to format | |
| dialect | No | SQL dialect (default: standard) |