{"ok":true,"data":{"tool":{"slug":"sql-formatter","name":"SQL Formatter","section":"tools","category":"Developer Tools","subcategory":"Data Formatters","url":"/tools/data-formatters/sql-formatter/","status":"live","api_mode":"not_available","webmcp_mode":"navigate_only","processing_mode":"client-side","privacy_mode":"no-data-stored","summary":"Format SQL statements with readable keyword breaks and indentation for common SELECT, INSERT, UPDATE, DELETE, and DDL syntax.","input_schema":{"type":"object","properties":{"sql":{"type":"string","description":"Paste one or more SQL statements."},"indent":{"type":"number","description":"Enter the indent spaces used in the calculation.","minimum":0,"maximum":8},"keyword_case":{"type":"string","description":"Choose the keyword case that matches the calculation.","enum":["upper","lower","preserve"]}},"required":["sql","indent","keyword_case"],"additionalProperties":false},"output_schema":{"type":"object","properties":{"formatted_sql":{"type":"string","description":"Formatted SQL produced by the calculation."},"statement_count":{"type":"number","description":"Statement count produced by the calculation."},"line_count":{"type":"number","description":"Formatted line count produced by the calculation."}},"additionalProperties":false},"examples":[{"title":"SQL Formatter example","description":null,"input":{"sql":"select id,name,email from users where active=1 order by name;","indent":2,"keyword_case":"upper"},"output":{"formatted_sql":"SELECT id,\n  name,\n  email \nFROM users \nWHERE active=1 \nORDER BY name;","statement_count":1,"line_count":6}}],"capability":null}},"meta":{"api_status":"preview","execution":"unavailable"},"request_id":"7e7dce9c48cb8d0e276a6ccf"}