developer_sql_formatter
Format raw SQL statements into readable structured code. Supports MySQL, PostgreSQL, SQLite, PL/SQL, and T-SQL dialects for consistent formatting.
Instructions
Format SQL queries to improve readability. Supports dialects like sql, mysql, postgresql, sqlite, plsql.
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": "developer_sql_formatter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The raw SQL statement to format. | |
| dialect | No | The SQL dialect/language family to format for. | sql |