format_sql
Transform unstructured SQL queries into neatly formatted, readable code. Supports configurable indentation and dialect options for MySQL, PostgreSQL, and SQLite.
Instructions
Format and pretty-print SQL queries
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL query to format | |
| indent | No | ||
| dialect | No | SQL dialect | postgresql |