Neshan travel times to several places
ns_travel_timesCalculates live travel times from one origin to up to 10 destinations by car, motorcycle, bicycle, or walking, ranking them fastest first and separating unroutable points.
Instructions
Get the travel time from one point to several places on Neshan, fastest first.
Ranks ns_search results by real travel time. Each result has to (as given), duration_min (live) and
distance_km (car and motorcycle only); unroutable destinations go under failed. Details: ns_route.
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": {
"origin": "<origin>",
"destinations": "<destinations>"
},
"name": "ns_travel_times"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Travel mode. | car |
| origin | Yes | Start 'lat,lng'. | |
| destinations | Yes | 1-10 end points, each 'lat,lng'. |