expiries_list
Lists company and vehicle document expiry items soonest first, including expired and upcoming renewals, with filters for kind, vehicle, company-level items, and closed history.
Instructions
Expiry items of the company, soonest first (expired ones come first): vehicle documents and company-level items. Each item carries daysLeft, status (ok | due — within remindDaysBefore — | expired | renewed), vehicle {id, plate, displayName} (null for company-level items) and renewedFromId. Filters: kind, vehicleId, companyLevel (items without a vehicle), includeClosed (renewed items, for the history).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "expiries_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) | |
| vehicleId | No | ||
| companyLevel | No | ||
| includeClosed | No |