format_sql
Format SQL queries with customizable indentation and keyword casing to improve readability and maintain consistent code style.
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) |