get_execution_plan
Analyze SQL Server queries by retrieving their execution plans. Provide a connection and SQL query to identify performance bottlenecks and optimize indexing.
Instructions
Get 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": {
"connection": "<connection>",
"sql": "<sql>"
},
"name": "get_execution_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL query to analyze | |
| connection | Yes | Connection name to use |