explain_query
Retrieve the execution plan for any SQL query to understand how Oracle Database processes it. Optimize query performance by analyzing the plan.
Instructions
Get the execution plan for a SQL 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": {
"connection": "<connection>",
"sql": "<sql>"
},
"name": "explain_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL query to explain | |
| connection | Yes | Name of the database connection to use |