Fuel prices for a state, city or ZIP
get_local_fuel_pricesDiesel and gasoline prices per gallon, fuel taxes and monthly price history for one US state, city or ZIP. Only ten cities have their own survey; any other city or ZIP returns its state's average, and each price says which it is. These are area averages, not station prices.
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": {
"place": "<place>"
},
"name": "get_local_fuel_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| place | Yes | A state ("TX" or "Texas"), a city and state ("Chicago, IL"), or a 5-digit ZIP. Lower 48 states and DC. | |
| months | No | How many of the most recent months to return. Default 24. History starts 2003-12. |