sql_explain
Estimate a SQL query's execution plan to analyze performance and identify optimization opportunities before running it.
Instructions
Retrieve an estimated execution plan for a query.
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": "sql_explain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| query | Yes | ||
| lakehouse | No | ||
| warehouse | No | ||
| workspace | No |