superset_sqllab_format_sql
Format a SQL query for better readability by applying standard formatting rules via the SQL Lab API. Improves query structure for easier review and editing.
Instructions
Format a SQL query for better readability
Makes a request to the /api/v1/sqllab/format_sql endpoint to apply standard formatting rules to the provided SQL query.
Args: sql: SQL query to format
Returns: A dictionary with the formatted SQL
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes |