Plan charging stops
plan_charging_routePlan where to stop for fast charging on a drive between two places on a road Elton has a page for. Give the car as car and the temperature as temperatureC whenever the user says them, not a range of your own: Elton knows the car's range and cuts it for cold. When the drive ends at a cabin or anywhere the user can't charge, set noChargerAtDestination, and the plan makes sure the car gets back to a fast charger. Charges to 80% at each stop, as Elton advises, keeps a 20% reserve, and prefers stops with a place to eat or a food shop. A sketch: the Elton app shows which chargers are free. Its appUrl opens the whole drive, with the charging stops, in the Elton app's route planner.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "plan_charging_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Where it ends: a road page's end or a town along it, as "Trysil" or "Seljord". In Norway also a street address, as a cabin's ("Røvskroken 13, Beitostølen"). | |
| car | No | The car, as "Hyundai Ioniq 5" or "Tesla Model Y Long Range": its range and the chargers it can fast-charge at come from Elton's list. Give it whenever the user names the car, rather than rangeKm. | |
| food | No | Stop to charge where this place to eat or food shop is nearby, where one is in reach, as "Burger King". | |
| from | Yes | Where the drive starts: a road page's end or a town along it, as "Oslo". In Norway also a street address or a place off the road, as the user said it ("Storgata 1, Hamar"): the plan starts at the town on a road nearest it, and its asked field says which. | |
| country | No | The country whose roads and stations to use: no (Norway), se (Sweden), dk (Denmark). | |
| rangeKm | No | How far the car goes on a full battery in mild weather, in km: only for a car that isn't in Elton's list, as car is better. Not a winter figure: temperatureC cuts the range for cold, so a winter figure would be cut twice. | |
| startPercent | No | How full the battery is at the start, in percent (default 100). | |
| temperatureC | No | The temperature on the drive, in °C. Below +10 the range is cut by an estimate from NAF and Motor's El Prix winter test. | |
| arrivePercent | No | How full the battery should be on arrival, in percent (the 20% reserve if not given). For a cabin with no charger, set noChargerAtDestination instead. | |
| noChargerAtDestination | No | True when there's no charger where the drive ends, as a cabin, or the user says they can't charge there: the plan arrives with enough to drive back to the fastest charger near the end, with a plan B, within the 80% rule, or says it can't. |