Sql Format
sql_formatFormat and lint SQL: consistent keyword case, one clause per line, indented select lists, joins, AND/OR conditions and subqueries, comments and string literals preserved; or minify. The linter flags UPDATE/DELETE without WHERE, SELECT *, implicit comma joins, leading-wildcard LIKE, ORDER BY RAND(), NOT IN with subqueries and string-concatenation injection smells, and lists statement types and referenced tables. POST JSON body {sql}. Price: $0.002 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/sql-format
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 | ||
| indent | No | ||
| minify | No | ||
| keywordCase | No | upper |