EV charging cost: home, public and rapid
charging_costCost of one charge, per mile and per 100 miles at the UK home price cap rate and average public and rapid pay-as-you-go prices (dated sources), plus an optional own price.
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": {
"battery_kwh": "<battery_kwh>",
"start_percent": "<start_percent>",
"end_percent": "<end_percent>"
},
"name": "charging_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| battery_kwh | Yes | Battery size in kWh | |
| end_percent | Yes | Target charge in percent | |
| price_pence | No | Optional own price in pence per kWh | |
| start_percent | Yes | Start charge in percent |