Charge cost
charge_costFor questions about what an e-bike or e-scooter costs to charge or to run at home in the US. Returns what a full charge of the battery costs at home and the cost per 100 miles, at a state's average home electricity price (U.S. Energy Information Administration). A named bike or scooter uses the battery size and range its brand states, as listed on Bike-Specs; the battery size can instead be given in watt-hours, or in volts and amp-hours. Without a state, the US average price is used. The result is an estimate: a person's own electricity rate changes it. The figures and the method are Bike-Specs'.
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": "charge_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bike | No | the e-bike or e-scooter's brand and model, e.g. 'Aventon Level 3' | |
| state | No | the US state (name or two-letter code) for its average home price; leave out for the US average | |
| volts | No | the battery's voltage, with amp_hours, when the watt-hours are not known | |
| amp_hours | No | the battery's amp-hours (Ah), with volts | |
| battery_wh | No | the battery's size in watt-hours (Wh), if known; it wins over the bike's | |
| miles_per_charge | No | miles ridden on a full charge, for the cost per 100 miles; the brand's claim is used for a named bike |