explain_query
Retrieve a JSON execution plan for a SQL statement to analyze query performance without running it.
Instructions
[READ] Return the JSON execution plan for sql (EXPLAIN FORMAT=JSON).
The statement is planned, not executed.
Args: sql: A single SQL statement to EXPLAIN. target: Target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| target | No |