fleet.log_fuel
Logs or edits a truck fuel entry with audit trail, odometer tracking, and efficiency check.
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>",
"quantity": "<quantity>",
"fuelRate": "<fuelRate>"
},
"name": "fleet.log_fuel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | No | Trip route | |
| action | No | Create or edit | |
| fuelRate | Yes | Price per Litre in NPR | |
| fuelType | No | Fuel type | |
| odometer | No | Odometer reading in km | |
| quantity | Yes | Fuel quantity in Litres | |
| editReason | No | Audit reason when editing | |
| truckQuery | Yes | Truck plate or identifier | |
| fuelStation | No | Fuel pump name | |
| totalAmount | No | Optional total amount in NPR |