azure_query_costs
Query actual Azure subscription spend by timeframe, granularity, and grouping to analyze cost trends and identify cost drivers.
Instructions
Query actual Azure subscription spend. Requires Cost Management credentials.
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": {
"timeframe": "<timeframe>"
},
"name": "azure_query_costs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | ISO date, required when timeframe=Custom | |
| groupBy | No | ||
| costType | No | ActualCost | |
| startDate | No | ISO date, required when timeframe=Custom | |
| timeframe | Yes | ||
| granularity | No | None | |
| response_format | No | markdown |