Inflation Rate
InflationRateInflation Rate: Inflation Rate reports annual inflation rates and Consumer Price Index (CPI) values for any country by two-letter country code. Outputs include the year-over-year price change percentage, CPI index, and base comparison year, with paid plans supporting historical lookups by year. On paid plans, changes=true adds the prior year's rate and the change from it, plus the 5-year average, high, low and cumulative CPI rise. (Cost: 2 credits)
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": {
"country": "<country>"
},
"name": "InflationRate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | The year to retrieve data for. Defaults to the previous year. | |
| changes | No | Include the previous year's rate, the change from it, and the 5-year average, high, low and CPI rise | |
| country | Yes | ISO 2-letter country code (e.g., US, GB, JP, DE, BR) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |