explain
Generates PostgreSQL query execution plans with ANALYZE and BUFFERS for SELECT statements in a read-only transaction to diagnose query performance.
Instructions
План запроса PostgreSQL: EXPLAIN (ANALYZE, BUFFERS) для SELECT, в read-only транзакции.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| analyze | No | выполнять запрос (по умолчанию да) | |
| connection | No |