Estimate fill-up and trip cost
estimate_fill_up_costCost of filling a tank (gallons times this week's EIA average for the area, or your price per gallon), and optionally the fuel cost of a trip from miles and miles per gallon, including cents per mile.
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": {
"gallons": "<gallons>"
},
"name": "estimate_fill_up_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | US, a state name or code ("Texas", "CA"), a city EIA prices ("Chicago", "NYC"), or an EIA region ("Midwest", "PADD 2"). Default US. A state EIA does not price is answered with its region. | |
| grade | No | Default regular. | |
| miles | No | Trip distance in miles. Give with miles_per_gallon. | |
| gallons | Yes | Gallons to buy, for example 15. | |
| miles_per_gallon | No | Your vehicle fuel economy. Give with miles. | |
| price_per_gallon | No | Your own price per gallon. Default the EIA average for the area. |