List vehicles
list_vehiclesRetrieve the vehicle identification numbers (VINs) your Polestar Data Portal credential can access, enabling you to identify available vehicles for data queries.
Instructions
List the VINs this Polestar Data Portal credential is authorized to access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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. |