82trust / 100

Drone Spray Path

by agri.halowerk.com in Weather & location

x402 APIPassing, checked 49 min ago

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.

POST https://agri.halowerk.com/v1/drone-spray-path

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
82 ms typical, 82 ms slowest 5%
Last check
49 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agri.halowerk.com/v1/drone-spray-path" \
  -H "content-type: application/json" \
  -d '{"height":80,"orientation":"passes_along_width","origin":{"x":500,"y":1000},"overlap_fraction":0.15,"swath_width":12,"width":120}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagri.halowerk.com%2Fv1%2Fdrone-spray-path
const res = await pay("https://agri.halowerk.com/v1/drone-spray-path", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"height":80,"orientation":"passes_along_width","origin":{"x":500,"y":1000},"overlap_fraction":0.15,"swath_width":12,"width":120}),
});
console.log(await res.json());

Example input

{
  "height": 80,
  "orientation": "passes_along_width",
  "origin": {
    "x": 500,
    "y": 1000
  },
  "overlap_fraction": 0.15,
  "swath_width": 12,
  "width": 120
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
49 min agoPassed402150 ms$0.004
6 h agoPassed40282 ms$0.004