Get US CPI inflation data
get_cpi_inflationFetch US Consumer Price Index (CPI-U) observations and computed month-over-month and year-over-year inflation percentages.
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_inflation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| months | No | Number of recent monthly observations (default 12). | |
| category | No | CPI category: all_items (default), core, food, energy, or shelter. |