Privi Car: cheapest EV charging plan
car_charge_planPick which time slots to charge in so the car has the energy it needs at the lowest cost. Runs on the CVaR-QAOA quantum simulator and against exact search; the signed receipt shows both and the plan is the proven best. Returns the slots, cost, and savings over charging right away. A plan only: nothing is sent to a charger.
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": {
"price_per_kwh": "<price_per_kwh>",
"charger_kw": "<charger_kw>",
"energy_needed_kwh": "<energy_needed_kwh>"
},
"name": "car_charge_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| charger_kw | Yes | Charger power in kW | |
| slot_hours | No | Length of one slot in hours (default 1) | |
| price_per_kwh | Yes | Electricity price for each time slot before departure (2-16 slots) | |
| energy_needed_kwh | Yes | Energy to add before departure, in kWh | |
| switch_penalty_usd | No | Cost charged for each start/stop, to favor one continuous session (default 0) |