{"uid":"cap_a_MW2Wjx603wyNITmUrTy","slug":"halowerk-laufwerk-tour-fuel-readiness-check-04359c25","name":"HALOWERK laufwerk – Tour Fuel Readiness Check","description":"HALOWERK laufwerk — bezahlte Endpunkte nach x402. Preise in USDC auf Base Mainnet.","url":"https://lauf.halowerk.com/v1/tours/fuel-readiness?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"jobs":{"type":"array","items":{"type":"object","required":["id","point","demand","service_s","window"],"properties":{"id":{"type":"string","maxLength":80,"minLength":1},"point":{"type":"integer","maximum":20,"minimum":1},"demand":{"type":"number","maximum":100000,"minimum":0},"window":{"type":"array","items":{"type":"number","maximum":604800,"minimum":0},"maxItems":2,"minItems":2},"service_s":{"type":"number","maximum":604800,"minimum":0}},"additionalProperties":false},"maxItems":20,"minItems":1},"vehicles":{"type":"array","items":{"type":"object","required":["id","capacity","shift","liters_per_100km","available_fuel_l"],"properties":{"id":{"type":"string","maxLength":80,"minLength":1},"shift":{"type":"array","items":{"type":"number","maximum":604800,"minimum":0},"maxItems":2,"minItems":2},"capacity":{"type":"number","maximum":100000,"exclusiveMinimum":0},"available_fuel_l":{"type":"number","maximum":10000000,"minimum":0},"liters_per_100km":{"type":"number","maximum":10000000,"minimum":0}},"additionalProperties":false},"maxItems":4,"minItems":1},"distances_m":{"type":"array","items":{"type":"array","items":{"anyOf":[{"type":"number","maximum":10000000,"minimum":0},{"type":"null"}]},"maxItems":21,"minItems":2},"maxItems":21,"minItems":2},"durations_s":{"type":"array","items":{"type":"array","items":{"anyOf":[{"type":"number","maximum":604800,"minimum":0},{"type":"null"}]},"maxItems":21,"minItems":2},"maxItems":21,"minItems":2},"matrix_source":{"type":"string","maxLength":200,"minLength":1}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GAAZLjnKOLmsAMV55REv5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Given a set of vehicles (with fuel levels and consumption rates) and delivery jobs (with time windows and demands), determines whether each vehicle has sufficient fuel to complete its assigned tour stops.","exampleAgentPrompt":"Before we dispatch the trucks today, check fuel readiness for 2 vehicles: Truck-A with 80 liters available consuming 12 L/100km, and Truck-B with 55 liters at 10 L/100km — they need to cover 5 jobs with the distance and duration matrix I'll provide, all within an 8-hour shift window.","exampleUseCases":[{"title":"Pre-dispatch fleet fuel check","prompt":"We have 3 delivery vans heading out this morning — Van-1 has 60 liters at 11 L/100km, Van-2 has 45 liters at 9 L/100km, Van-3 has 70 liters at 13 L/100km. I have 8 jobs to assign across them with their time windows and a full distance matrix. Can you check if all three vans have enough fuel to complete their tours without running out?"},{"title":"Single truck tour feasibility","prompt":"Truck-7 has 95 liters on board and burns 14.5 liters per 100km. It needs to hit 6 stops today, each with a service time and delivery time window, and I've got the distances between all points. Will it make it through the full tour on current fuel?"},{"title":"Automated logistics pipeline fuel gate","prompt":"As part of our route planning pipeline, before finalizing today's assignments for 4 vehicles across 15 jobs, run a fuel readiness check using our precomputed distance and duration matrices — flag any vehicle that can't complete its assigned stops on current fuel so we can reroute or refuel them first."}],"resultDescription":"A JSON response indicating per-vehicle fuel readiness: whether each vehicle has sufficient fuel to complete its assigned tour based on the distances, consumption rate, and available fuel. Likely includes flags for vehicles that are underfueled, estimated fuel consumption per vehicle, and overall feasibility status for the tour plan.","failureModes":["Missing required fields (id, point, demand, service_s, window for jobs; id, capacity, shift, liters_per_100km, available_fuel_l for vehicles) return validation errors","Distance or duration matrix dimensions don't match the number of jobs/vehicles — returns schema error","More than 20 jobs or more than 4 vehicles submitted — exceeds array limits","Null entries in distance/duration matrix may cause incomplete feasibility calculations","Payment failure via x402 (insufficient USDC balance) results in 402 response before processing"],"whenToPreferThis":"Use this endpoint when you need a fast, pre-dispatch fuel feasibility check for a small fleet (up to 4 vehicles, up to 20 jobs) before committing to a route plan. It is purpose-built for logistics workflows where fuel constraints must be validated against known distance matrices and time windows. Prefer this over generic VRP solvers when the primary concern is fuel sufficiency rather than full route optimization.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:39:55.736Z","isFirstParty":false,"canonicalSlug":"halowerk-laufwerk-tour-fuel-readiness-check-04359c25"}