fleet.query
READ-ONLY query engine for fleet vehicles, fuel spend summaries, part serial history, garage spare parts stock, and document/license expiries.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"queryType": "<queryType>"
},
"name": "fleet.query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| daysAhead | No | Expiry lookahead days (default 30) | |
| queryType | Yes | Query type | |
| timeRange | No | Time range filter | |
| truckQuery | No | Optional truck plate or identifier | |
| serialNumber | No | Component serial number (for part_serial) |