cost_periods
Compare cloud service costs between two time periods to analyze spending trends and identify changes across AWS, OpenAI, and Anthropic providers.
Instructions
Compare costs between two time periods
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": {
"period1": "<period1>",
"period2": "<period2>"
},
"name": "cost_periods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | Specific provider to analyze (optional) | |
| period1 | Yes | ||
| period2 | Yes | ||
| comparisonType | No | both | |
| breakdown | No | Include service-level breakdown |