Grocery price history
grocery_price_historyMonthly BLS average prices of one item between two months (most items go back to 1980): every month, the first and last price and the change, the high and low with their months, and yearly averages. Default the last 24 published months.
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": {
"item": "<item>"
},
"name": "grocery_price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last month, YYYY-MM or a year. Default the latest published month. | |
| from | No | First month, YYYY-MM or a year. Default 23 months before to. | |
| item | Yes | Item: eggs, milk, butter, cheddar_cheese, ice_cream, ground_beef, sirloin_steak, round_steak, chicken_whole, chicken_breast, bacon, pork_chops, bread, flour, rice, cookies, coffee, orange_juice, beer, sugar, bananas, oranges, lemons, tomatoes, potatoes, lettuce, gasoline, gasoline_premium, diesel, electricity, natural_gas. Plain words such as "egg prices", "beef" or "gas" also work. | |
| region | No | us (default, U.S. city average), northeast, midwest, south, west, or a US state (mapped to its census region; BLS has no state averages). grocery_price also takes "all". |