detect_regressed_queries
Identify regressed queries using automatic tuning recommendations and get plan forcing scripts to resolve performance issues.
Instructions
Surface automatic tuning regression recommendations from sys.dm_db_tuning_recommendations with plan forcing scripts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "detect_regressed_queries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_name | No | Optional database name. Defaults to AZURE_SQL_DEFAULT_DATABASE. | |
| window_minutes | No | Query Store lookback window in minutes (default 24 hours). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||