↖Skill 02 · Cost Estimation
2.2Subchapter 2.2
references/cost-forecast/examples.md·Markdown·772 B·View on GitHub
Pass these parameters directly to forecast_costs.
forecast_costs
scope=<scope>
granularity=Daily
from=<YYYY-MM-DD>
to=<future-YYYY-MM-DD>
granularity=Monthly
scope=/subscriptions/<id>/resourceGroups/<name>
filterDimension=ServiceName
filterValues=<exact-service-name>
metric=AmortizedCost
Use only the Azure scope itself, not a /providers/Microsoft.CostManagement/forecast request URL. Do not add grouping or actual-cost flags because the MCP operation does not expose them.
/providers/Microsoft.CostManagement/forecast