spot_price_history
Retrieve historical Spot VM pricing data for Azure virtual machines to analyze cost trends and optimize resource allocation.
Instructions
Get Spot VM price history for a specific SKU and region. Requires Azure authentication (az login or environment variables). Returns up to 90 days of historical Spot pricing data.
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": {
"sku": "<sku>",
"location": "<location>"
},
"name": "spot_price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | Yes | VM SKU name (e.g., 'Standard_D2s_v4') | |
| location | Yes | Azure region (e.g., 'eastus') | |
| os_type | No | Operating system type ('linux' or 'windows') | linux |