vehicles_list
List company vehicles with next expiry details and status counts, filterable by active status and search fields like plate, make, model, driver, or VIN.
Instructions
Vehicles of the company (parc auto) with, per vehicle, nextExpiry (the soonest open expiry item: kind, label, expiresAt, daysLeft, status ok | due | expired) and counts {expired, due, ok}. Filter with active and search (plate, make, model, driver, VIN).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | No | Only active (true) or only inactive (false) vehicles | |
| search | No | ||
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) |