{"uid":"cap_wEzYqDpQfTxfu50hdJP9K","slug":"multi-stop-trip-planner-e9e1615e","name":"Multi-Stop Trip Planner","description":"Bundled execution of the Multi-stop trip planner workflow - 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.","url":"https://agent402.tools/api/skill/trip-planner","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"stops":{"type":"string","description":"comma-separated ordered list of stops (e.g. 'New York NY, Pittsburgh PA, Cleveland OH, Chicago IL')"},"startIso":{"type":"string","description":"trip start time as UTC ISO 8601 (e.g. '2026-07-20T08:00:00Z')"}}},"responseSchema":{"type":"json","example":{"args":{"stops":"New York NY, Pittsburgh PA, Cleveland OH, Chicago IL","startIso":"2026-07-20T08:00:00Z"},"pack":"trip-planner","steps":[{"ok":true,"slug":"geocode","result":{}},{"ok":true,"slug":"geo-distance","result":{}},{"ok":true,"slug":"add-time","result":{}},{"ok":true,"slug":"business-days","result":{}},{"ok":true,"slug":"time-convert","result":{}},{"ok":true,"slug":"weather-forecast","result":{}}],"summary":"6/6 steps succeeded"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NMWnsTMBASUGSXoMA8e2h","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Geocodes ordered stops, computes pairwise haversine distances, estimates arrival times per leg, and counts business days for a multi-stop journey plan.","exampleAgentPrompt":"Plan my road trip starting July 20, 2026 at 8am UTC with stops in New York NY, Pittsburgh PA, Cleveland OH, and Chicago IL — give me the distances between each leg and estimated arrival times at each city.","exampleUseCases":null,"resultDescription":"Returns geocoded coordinates for each stop, haversine distances for each leg between consecutive stops, total distance, estimated driving arrival times at each stop, and a count of business days from today for the journey.","failureModes":["Unrecognizable stop names fail geocoding — returns error indicating which stop could not be resolved","Malformed ISO 8601 startIso causes a validation error","Fewer than two stops provided returns an error as no leg can be computed","Network timeout during geocoding of stops","Invalid or missing stops field returns a schema validation error"],"whenToPreferThis":"Use this endpoint when you need a deterministic, structured multi-stop trip plan with distance calculations and arrival time estimates without relying on live traffic data. Ideal for logistics planning, itinerary generation, or any workflow where reproducible, formula-based travel estimates (haversine distances, constant driving speed assumptions) are sufficient over real-time routing APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:08:22.989Z","isFirstParty":false}