get_cloud_diagram_cost_snapshot
Get a cost snapshot for a specific cloud infrastructure diagram layer over a date range, including total spend, period-over-period trend, top cost-driving resources and services, and cost trend over time.
Instructions
Use this when the user wants a cost snapshot for a specific cloud infrastructure diagram layer over a time period — total spend, period-over-period trend percentage, the top resources and services by cost, and a cost trend over time. Requires the diagram layer ID and a startDate/endDate (YYYY-MM-DD). Do NOT use this for account-wide cost analysis (use run_query) or budgets (use list_budgets).
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": {
"layerId": "<layerId>",
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "get_cloud_diagram_cost_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | End of the period (calendar date, YYYY-MM-DD, e.g. 2026-04-30). | |
| layerId | Yes | The diagram layer (statussheet) ID to get a cost snapshot for. | |
| interval | No | Bucket granularity for the cost trend. Possible values: day, week, month (defaults to day). | |
| startDate | Yes | Start of the period (calendar date, YYYY-MM-DD, e.g. 2026-04-01). |