fleet.update_trip_status
Updates the live route, trip status (Idle, Ongoing, Completed), and odometer for a truck.
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": {
"truckQuery": "<truckQuery>",
"tripStatus": "<tripStatus>"
},
"name": "fleet.update_trip_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remarks | No | Dispatch remarks | |
| odometer | No | Current odometer in km | |
| tripStatus | Yes | New trip status | |
| truckQuery | Yes | Truck plate or identifier | |
| currentRoute | No | Current or destination route |