Get Cost Breakdown
get_cost_breakdownRetrieve cost breakdown by service, tag, or usage type for a specified number of days to identify spending patterns and optimize AWS costs.
Instructions
Get cost breakdown by service or tag
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_cost_breakdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days to analyze (default: 30) | |
| tag_key | No | Tag key to group by (required if group_by=TAG) | |
| group_by | No | How to group costs - SERVICE, TAG, or USAGE_TYPE | SERVICE |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |