logistics_route_optimize
Multi-stop route optimizer — Offline traveling-salesman route order for up to 40 stops. Give stops= as lat,lon pairs separated by ; plus optional names= (pipe-separated), start= (1-based stop number, default 1), end= (fixed last stop), roundtrip=yes, speed_kmh= (default 70), road_factor= (default 1.3) and service_min= per stop. Returns the optimized order (nearest-neighbor plus 2-opt), legs with km/miles, total vs given-order distance and savings, estimated drive and total hours, and a Google Maps directions link. Price: $0.004 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"stops": "<stops>"
},
"name": "logistics_route_optimize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stops | Yes | e.g. 36.1627,-86.7816;35.9606,-83.9207;35.1495,-90.0490;35.0456,-85.3097 |