explain
Run execution plan analysis on SELECT and WITH queries to generate structured reports that identify PostgreSQL performance bottlenecks and guide query optimization.
Instructions
Run EXPLAIN ANALYZE on a SELECT query and return a structured report.
Args: sql: A SQL query. Only SELECT and WITH statements are allowed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |