{"ok":true,"result":{"slug":"fuel-cost-calculator","name":"Fuel Cost Calculator","summary":"Fuel needed and cost of a trip from distance, fuel efficiency (L/100 km, km/L, US or UK MPG) and fuel price, optionally round trip and split between people.","description":"Work out how much fuel a journey needs and what it costs, using MPG (US or UK), L/100 km or km/L, with round trips and splitting the cost between passengers.","method":"POST","endpoint":"/api/v1/tools/fuel-cost-calculator","plan":"free","mcpName":"fuel_cost_calculator","input":{"type":"object","additionalProperties":false,"properties":{"distance":{"type":"number","description":"One-way distance, in distanceUnit.","minimum":0},"distanceUnit":{"type":"string","description":"km or mi.","default":"km","enum":["km","mi"],"maxLength":200000},"efficiency":{"type":"number","description":"Fuel efficiency, in efficiencyUnit.","minimum":0},"efficiencyUnit":{"type":"string","description":"l-100km (litres per 100 km), km-l (km per litre), mpg-us or mpg-uk (miles per US or UK gallon).","default":"l-100km","enum":["l-100km","km-l","mpg-us","mpg-uk"],"maxLength":200000},"price":{"type":"number","description":"Fuel price per priceUnit, in currency units.","minimum":0},"priceUnit":{"type":"string","description":"What the price is for: litre, us-gallon or uk-gallon.","default":"litre","enum":["litre","us-gallon","uk-gallon"],"maxLength":200000},"roundTrip":{"type":"boolean","description":"Double the distance for a return journey.","default":false},"people":{"type":"integer","description":"People sharing the cost, 1 to 100.","default":1,"minimum":1,"maximum":100}},"required":["distance","efficiency","price"]},"example":{"distance":350,"distanceUnit":"km","efficiency":6.5,"efficiencyUnit":"l-100km","price":1.75,"priceUnit":"litre","roundTrip":true,"people":2},"randomOutput":false,"network":false,"docs":"https://pithlab.com/developers/tools/fuel-cost-calculator","page":"https://pithlab.com/tools/fuel-cost-calculator"}}