Postgres Explain
postgres_explainGenerate a Postgres EXPLAIN plan for a SELECT without executing it, enabling query performance analysis with no side effects. Use to diagnose slow queries safely.
Instructions
EXPLAIN (FORMAT TEXT) a SELECT without ANALYZE / executing side effects.
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": "postgres_explain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| params | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||