explain_query
Retrieve the PostgreSQL query plan for one read-only SQL statement without executing it or adding EXPLAIN; inspect execution plans before running queries.
Instructions
PostgreSQL's plan for one read-only query passed without EXPLAIN; the query is not run.
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": {
"query": "<query>"
},
"name": "explain_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | One SQL statement. |