Cost Forecast
get_cost_forecastProject future cloud spending for the next N days using a linear trend based on the last 30 days of actual costs. Get projected total cost, average daily cost, and forecast period dates to plan budgets.
Instructions
Projects future cloud spending for the next N days using a linear trend based on the last 30 days of actual costs. Returns the forecast period dates, projected total cost in USD, average daily projected cost, and the confidence basis (number of historical days used). Use this when the user asks "how much will I spend this month", wants to predict upcoming bills, or needs to plan budgets. Returns an error if insufficient historical data exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | Cloud provider to query (azure or gcp) | azure |
| days | No | Number of days to forecast (default: 30) |