Gas vs Electric Car Cost Calculator
gas_vs_electric_car_calculatorGas vs Electric Car Cost Calculator — Compare the yearly fuel cost of a gas car versus an electric car. Enter miles, MPG, and rates to see annual savings, break-even years, and 5-year totals.
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": {
"annualMiles": "<annualMiles>",
"mpg": "<mpg>",
"gasPricePerGal": "<gasPricePerGal>",
"kWhPerMile": "<kWhPerMile>",
"electricityRate": "<electricityRate>"
},
"name": "gas_vs_electric_car_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mpg | Yes | ||
| kWhPerMile | Yes | ||
| annualMiles | Yes | ||
| evPricePremium | No | ||
| gasPricePerGal | Yes | ||
| electricityRate | Yes |