{"uid":"cap_BMqt_QcJZV9oqP4_6L50S","slug":"drone-spray-path-planner-5a93efb6","name":"Drone Spray Path Planner","description":"Builds parallel passes over an axis-aligned rectangle using supplied swath width and overlap, alternating travel direction to reduce deadhead distance. Coordinates are in caller-supplied local units. It does not use maps, terrain, wind, obstacles, battery limits, no-fly zones, chemical rules or flight-control integration.","url":"https://agri.halowerk.com/v1/drone-spray-path","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"width":{"type":"number","maximum":1000000000,"minimum":0.001},"height":{"type":"number","maximum":1000000000,"minimum":0.001},"origin":{"type":"object","required":["x","y"],"properties":{"x":{"type":"number","maximum":1000000000,"minimum":-1000000000},"y":{"type":"number","maximum":1000000000,"minimum":-1000000000}},"additionalProperties":false},"orientation":{"enum":["passes_along_width","passes_along_height"],"type":"string"},"swath_width":{"type":"number","maximum":1000000000,"minimum":0.001},"overlap_fraction":{"type":"number","maximum":0.95,"minimum":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2-WFuo5HZtKLVXQbCWXzf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a parallel boustrophedon (alternating-direction) spray path over a rectangular field area given swath width and overlap fraction.","exampleAgentPrompt":"Plan a drone spray path for a 500 by 300 unit rectangular field with the origin at (0, 0), using a swath width of 10 units, 15% overlap, and passes running along the width direction.","exampleUseCases":[{"title":"Crop row spray mission planning","prompt":"I need to spray a 200 by 400 meter field starting at origin (0, 0). Set the swath width to 8 meters with 10% overlap, and have the passes run along the height. Give me the full path."},{"title":"Orchard coverage path with high overlap","prompt":"Generate a spray path for a 150 by 150 unit square orchard block at origin (50, 20), swath width 5 units, 20% overlap, with passes going along the width so I minimize turns on the long side."},{"title":"Large wheat field pass layout","prompt":"Plan the parallel spray passes for a huge 1000 by 600 meter wheat field at origin (0, 0). Use a 12 meter swath width, 5% overlap, and orient the passes along the width to reduce total turnarounds."}],"resultDescription":"Returns an ordered list of waypoints or line segments defining the alternating parallel passes across the rectangle, including coordinates for each pass start and end point in the caller's local unit system, structured to minimize deadhead (non-spraying) travel distance between passes.","failureModes":["overlap_fraction >= 1.0 causes infinite passes — capped at 0.95","swath_width larger than field dimension produces only one pass","missing required fields (width, height, swath_width) returns validation error","extremely large field dimensions combined with tiny swath width may produce very large response payloads","invalid origin coordinate types return schema validation error"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic boustrophedon spray path for a simple axis-aligned rectangle in local coordinates and do not require terrain-aware routing, obstacle avoidance, no-fly zone enforcement, battery/range planning, or integration with a flight controller. Ideal for pre-mission pass planning tools, simulation, or generating input for a separate flight-control system.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:30:04.130Z","isFirstParty":false}