plan_trip
Plan the charging stops of a road trip and price each one, for this car and these cards.
The stops are placed on the fastest route from what the battery allows;
at each one, the fast chargers nearby are compared on price, charging time
and detour, at the time the car gets there. Ask for the car and cards first,
as for search_chargers.
Takes 10 to 45 seconds. Returns the stops in order, the trip's total, a
link that opens the trip on MeilleureCharge.fr, and `guidance`: follow it.
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": {
"origin": "<origin>",
"destination": "<destination>"
},
"name": "plan_trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Where the trip starts: city, address or station. | |
| card_ids | No | From list_charging_cards: every id of every card the driver has. | |
| vehicle_id | No | From find_vehicle. Omitted: a default car (Renault 5). | |
| destination | Yes | Where it ends. | |
| min_arrival_pct | No | The lowest battery the driver accepts on arrival at a stop or at the destination. | |
| battery_start_pct | No | Battery at departure. 80 if the driver did not say. | |
| accepts_operator_app | No | False if the driver refuses to install an operator's app. |