82trust / 100
Skill Trip Planner
by Skill: Multi-stop trip planner in Weather & location
x402 APIPassing, checked 2 h ago
Plan a multi-stop journey deterministically: geocode each stop, sum the pairwise haversine distances, estimate arrival times by adding driving hours per leg, count business days from today to each arrival, and pull the weather forecast at every US stop. Six tools - three pure-CPU (math + time), three egress (geocoding + weather) - covering the deterministic skeleton of every road-trip / sales-tour / delivery-route planning problem.
POST https://agent402.tools/api/skill/trip-planner
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 197 ms typical, 352 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/skill/trip-planner" \
-H "content-type: application/json" \
-d '{"startIso":"2026-07-20T08:00:00Z","stops":"New York NY, Pittsburgh PA, Cleveland OH, Chicago IL"}'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%2Fagent402.tools%2Fapi%2Fskill%2Ftrip-planner
const res = await pay("https://agent402.tools/api/skill/trip-planner", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"startIso":"2026-07-20T08:00:00Z","stops":"New York NY, Pittsburgh PA, Cleveland OH, Chicago IL"}),
});
console.log(await res.json());Example input
{
"startIso": "2026-07-20T08:00:00Z",
"stops": "New York NY, Pittsburgh PA, Cleveland OH, Chicago IL"
}Example output
{
"args": {
"startIso": "2026-07-20T08:00:00Z",
"stops": "New York NY, Pittsburgh PA, Cleveland OH, Chicago IL"
},
"pack": "trip-planner",
"steps": [
{
"ok": true,
"result": {},
"slug": "geocode"
},
{
"ok": true,
"result": {},
"slug": "geo-distance"
},
{
"ok": true,
"result": {},
"slug": "add-time"
},
{
"ok": true,
"result": {},
"slug": "business-days"
},
{
"ok": true,
"result": {},
"slug": "time-convert"
},
{
"ok": true,
"result": {},
"slug": "weather-forecast"
}
],
"summary": "6/6 steps succeeded"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 352 ms | $0.006 |
| 6 h ago | Passed | 402 | 197 ms | $0.006 |
| 10 h ago | Passed | 402 | 186 ms | $0.006 |
| 13 h ago | Passed | 402 | 188 ms | $0.006 |
| 16 h ago | Passed | 402 | 199 ms | $0.006 |
| 21 h ago | Passed | 402 | 438 ms | $0.006 |