get_cpi_data
Get national Consumer Price Index (CPI) data.
Returns the CPI-U (All Urban Consumers, All Items) monthly time series.
This is the headline CPI measure used for inflation tracking.
Base period: 1982-84=100.
Args:
start_year: Start year for data (default 2020).
end_year: End year for data (default 2025).
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_cpi_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_year | No | ||
| start_year | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |