Explain Query
ob_explainAnalyze SQL query execution plans using EXPLAIN on read-only statements to optimize performance without altering data.
Instructions
Run EXPLAIN for a strictly read-only SQL statement.
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": "ob_explain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| params | No | ||
| maxRows | No | ||
| profile | No |