fuel_cost_calculator
Calculate total fuel cost and cost per kilometre or mile for a trip given distance, fuel efficiency, and fuel price.
Instructions
Calculate total fuel cost and cost per kilometre/mile for a trip.
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": {
"distance": "<distance>",
"fuel_efficiency": "<fuel_efficiency>",
"fuel_price": "<fuel_price>"
},
"name": "fuel_cost_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| distance | Yes | Trip distance | |
| fuel_efficiency | Yes | Fuel efficiency (L/100km or MPG) | |
| fuel_price | Yes | Price per litre or gallon of fuel | |
| unit | No | metric = km + L/100km | imperial = miles + MPG | metric |