sql_format
Format SQL queries with proper indentation and keyword capitalization. Handles SELECT, INSERT, UPDATE, DELETE, CREATE TABLE, and JOIN statements.
Instructions
[PRO — 3 trial uses left] Format a SQL query with proper indentation and keyword capitalization. Supports SELECT, INSERT, UPDATE, DELETE, CREATE TABLE, and JOIN queries.
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 | |
| uppercase | No | Uppercase SQL keywords (default: true) |