superset_sqllab_format_sql
Pretty-print SQL queries with proper indentation to improve readability. Use this tool to clean up unformatted SQL before executing in Apache Superset SQL Lab.
Instructions
Format a SQL query (pretty print with indentation).
Args: sql: SQL query to format.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sql": "<sql>"
},
"name": "superset_sqllab_format_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |