Charging time and energy estimate
get_charging_estimateEstimate charging time and energy needed to reach a target state of charge. Plan stops using battery data, amp limit, and time-to-full.
Instructions
Estimates the energy and time needed to reach the target charge level from the current SoC, using the reported usable energy (dischargeInfo.energyAvailable) when available, the configured amp limit for power, and the car's own time-to-full when charging.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vin | No | Vehicle Identification Number. Optional when the credential has exactly one vehicle, omit it and the only vehicle is used. | |
| phases | No | AC phases at your charger (default 3). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | False when the call produced no data. | |
| vin | No | Vehicle the result is about, masked when POLESTAR_REDACT_VIN is on. | |
| code | No | Machine-readable error code when ok is false. | |
| data | No | Structured payload; shape documented per tool. | |
| hint | No | Actionable guidance when ok is false. | |
| tool | No | Tool that produced this result. | |
| message | Yes | Result text, identical to the content block. | |
| requestId | No | Upstream request id, the handle support needs. | |
| ageSeconds | No | Staleness of the underlying telemetry. | |
| httpStatus | No | Upstream HTTP status when ok is false. |