analyze_workload_indexes
Analyzes database workload to identify resource-intensive queries and recommend optimal indexes.
Instructions
Analyze the database workload to identify resource-intensive queries and recommend optimal indexes.
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": "analyze_workload_indexes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | Number of top queries to analyze. | |
| database_name | No | Optional database name. Defaults to AZURE_SQL_DEFAULT_DATABASE. | |
| window_minutes | No | How far back to look in Query Store, in minutes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||