Inflation table
inflation_tableUse this when the user wants a consumer price index calculator, inflation rate calculator or cpi calculator across many years: a year-by-year table of the annual average CPI-U and the yearly inflation rate, with a CSV download. It uses the bundled published CPI-U series for 1913 through the latest full year, up to 120 years per call. Do not use for a single amount conversion (use adjust_for_inflation), for other countries, for monthly percent changes, or for forecasts.
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": {
"start_year": "<start_year>",
"end_year": "<end_year>"
},
"name": "inflation_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_year | Yes | The last year of the table, e.g. 2024. At most 120 years after the start year and not after the latest full year. | |
| start_year | Yes | The first year of the table, e.g. 1990. 1913 or later. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| rows | Yes | ||
| source | Yes | ||
| end_year | Yes | ||
| downloads | Yes | ||
| rows_shown | Yes | ||
| start_year | Yes | ||
| latest_year | Yes | ||
| years_count | Yes | ||
| latest_month | Yes |