explainSql
Generate a non-executing query plan for a SQL statement on an omni-sql connection to inspect how the database would run it without running it.
Instructions
Generate a non-executing query plan on an Omni SQL connection (the active one unless connectionId is given).
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": "explainSql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| connectionId | No | Connection id from listConnections. Omit to use the active connection. |