Get battery
get_batteryRetrieve current battery status for your Polestar: charge level, charging state, remaining range, time to full, and average consumption.
Instructions
Battery state: charge level %, charging status (V1/V2/type), charger connection and power status, estimated distance to empty (km and miles), estimated time to full, and average consumption kWh/100km. The contract also defines charging current and voltage, charging power, since-charge and automatic-trip consumption averages, and an energy-consumption breakdown: those appear only when the car reports them, so a missing field means unreported, not zero. The reference vehicle answered with 14 fields and none of the optional ones. (M2M endpoint: /v1/vehicles/{vin}/telemetry/battery, scope pdp-telemetry/battery).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Return the full raw API payload instead of (or after) the humanized summary. Unchanged upstream content: it carries the VIN even when POLESTAR_REDACT_VIN is on. | |
| vin | No | Vehicle Identification Number. Optional when the credential has exactly one vehicle, omit it and the only vehicle is used. | |
| delegated_account_id | No | Third-party credentials only: read the shared vehicles of this account for this call. Must be listed in POLESTAR_DELEGATED_ACCOUNT_IDS. |
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. |