format_sql
Format SQL strings with customizable indentation and keyword casing. Control spacing and add trailing semicolons for consistent query styling.
Instructions
Format SQL with configurable indentation and keyword casing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add_semicolon | No | Append a trailing semicolon (default: false) | |
| indent_size | No | Spaces per indent level (default: 2) | |
| sql | Yes | The SQL string to format | |
| uppercase_keywords | No | Uppercase SQL keywords (default: false) |