80trust / 100

Tours Wheelchairs Readiness

by lauf.halowerk.com in Weather & location

x402 APIPassing, checked 57 min ago

Accessible transport place allocation audit on the actual proposed delivery routes. Sum declared wheelchair_places across all jobs of each active route and compare with vehicle wheelchair_places. No pickup occupancy or certification inferred. Uses the paid-qualified existing VRP planner unchanged, then checks this business rule against the actual proposed route. A rule violation yields dispatch_ready=false, never an assertion that the extra constraint was optimized.

POST https://lauf.halowerk.com/v1/tours/wheelchairs-readiness

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://lauf.halowerk.com/v1/tours/wheelchairs-readiness" \
  -H "content-type: application/json" \
  -d '{"durations_s":[[0,300,480,360],[300,0,240,180],[480,240,0,300],[360,180,300,0]],"jobs":[{"demand":2,"id":"stop-A","point":1,"service_s":120,"wheelchair_places":1,"window":[0,1800]},{"demand":2,"id":"stop-B","point":2,"service_s":180,"wheelchair_places":1,"window":[600,3000]},{"demand":1,"id":"stop-C","point":3,"service_s":60,"wheelchair_places":1,"window":[0,3600]}],"matrix_source":"Illustrative declared delivery times, seconds; not a live road measurement","vehicles":[{"capacity":3,"id":"van-1","shift":[0,7200],"wheelchair_places":3},{"capacity":2,"id":"van-2","shift":[0,7200],"wheelchair_places":3}]}'
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%2Flauf.halowerk.com%2Fv1%2Ftours%2Fwheelchairs-readiness
const res = await pay("https://lauf.halowerk.com/v1/tours/wheelchairs-readiness", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"durations_s":[[0,300,480,360],[300,0,240,180],[480,240,0,300],[360,180,300,0]],"jobs":[{"demand":2,"id":"stop-A","point":1,"service_s":120,"wheelchair_places":1,"window":[0,1800]},{"demand":2,"id":"stop-B","point":2,"service_s":180,"wheelchair_places":1,"window":[600,3000]},{"demand":1,"id":"stop-C","point":3,"service_s":60,"wheelchair_places":1,"window":[0,3600]}],"matrix_source":"Illustrative declared delivery times, seconds; not a live road measurement","vehicles":[{"capacity":3,"id":"van-1","shift":[0,7200],"wheelchair_places":3},{"capacity":2,"id":"van-2","shift":[0,7200],"wheelchair_places":3}]}),
});
console.log(await res.json());

Example input

{
  "durations_s": [
    [
      0,
      300,
      480,
      360
    ],
    [
      300,
      0,
      240,
      180
    ],
    [
      480,
      240,
      0,
      300
    ],
    [
      360,
      180,
      300,
      0
    ]
  ],
  "jobs": [
    {
      "demand": 2,
      "id": "stop-A",
      "point": 1,
      "service_s": 120,
      "wheelchair_places": 1,
      "window": [
        0,
        1800
      ]
    },
    {
      "demand": 2,
      "id": "stop-B",
      "point": 2,
      "service_s": 180,
      "wheelchair_places": 1,
      "window": [
        600,
        3000
      ]
    },
    {
      "demand": 1,
      "id": "stop-C",
      "point": 3,
      "service_s": 60,
      "wheelchair_places": 1,
      "window": [
        0,
        3600
      ]
    }
  ],
  "matrix_source": "Illustrative declared delivery times, seconds; not a live road measurement",
  "vehicles": [
    {
      "capacity": 3,
      "id": "van-1",
      "shift": [
        0,
        7200
      ],
      "wheelchair_places": 3
    },
    {
      "capacity": 2,
      "id": "van-2",
      "shift": [
        0,
        7200
      ],
      "wheelchair_places": 3
    }
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
57 min agoPassed402136 ms$0.007
5 h agoPassed402135 ms$0.007
8 h agoPassed402236 ms$0.007
12 h agoPassed402132 ms$0.007
15 h agoPassed402110 ms$0.007
19 h agoPassed402244 ms$0.007
23 h agoPassed402107 ms$0.007
26 h agoPassed402114 ms$0.007
31 h agoPassed402136 ms$0.007