fuel_calc
Compute fuel needed and trip cost from distance, consumption and price. Pure CPU, instant.
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>"
},
"name": "fuel_calc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | Price per litre or gallon | |
| distance | Yes | Distance | |
| consumption | No | Fuel consumption |