get_query_parameter_buckets
Extract compiled parameter values behind each Query Store plan for a query, revealing the parameter buckets to test when tuning. Pair with boundary and NULL cases.
Instructions
Extract the compiled parameter values behind each Query Store plan for one query — the parameter buckets a tuning pass must test. Each distinct compiled set produced its own plan shape in production; pair with boundary/NULL/empty cases the history cannot show.
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": {
"query_id": "<query_id>"
},
"name": "get_query_parameter_buckets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query_id | Yes | Query Store query_id. | |
| database_name | No | Optional database name. Defaults to AZURE_SQL_DEFAULT_DATABASE. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||