explain_query_plan
Analyze how a database executes a SQL query by viewing its execution path and plan from the EXPLAIN output.
Instructions
Run EXPLAIN on a SQL query to inspect the database execution path.
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": "explain_query_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The SQL query string to analyze. |