devanvil_explain_sql
Analyze PostgreSQL EXPLAIN JSON or SQLite EXPLAIN QUERY PLAN output offline to compute exclusive node times and detect bottlenecks like sequential scans, disk sorts, and cardinality drift.
Instructions
Analyze PostgreSQL EXPLAIN (ANALYZE, FORMAT JSON) or SQLite EXPLAIN QUERY PLAN output offline to compute exclusive node times and detect bottlenecks (Seq Scan, Disk Sort, Cardinality Drift).
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": {
"input": "<input>"
},
"name": "devanvil_explain_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | PostgreSQL EXPLAIN JSON or SQLite EXPLAIN QUERY PLAN text. |