Neshan directions
ns_routeGet car, motorcycle, bicycle or walking directions with distance, travel time and turn-by-turn steps. Plan depart or arrival times, add up to three stops, and avoid tolls or traffic zones.
Instructions
Get car, motorcycle, bicycle or walking directions on Neshan: distance, travel time and turn-by-turn steps.
Points are 'lat,lng' (geocode with ns_search). Car trips return 2-3 routes, the first being Neshan's pick:
distance_km, duration_min (live, or for depart_at), via and flags toll_road, enters_traffic_zone,
enters_odd_even_zone when true. depart_at / arrive_by (car; Tehran, Karaj, Mashhad forecast) cannot combine
with stops or avoid_*. Steps (first route, up to 40): do Persian text, m metres, s seconds. zones lists
traffic plans with hours. Many destinations: ns_travel_times; bus/metro: ns_transit_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>",
"destination": "<destination>"
},
"name": "ns_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Travel mode. | car |
| steps | No | Turn-by-turn steps for the first route. | |
| stops | No | Waypoints in order, each 'lat,lng' (max 3). | |
| origin | Yes | Start 'lat,lng', e.g. '35.6997,51.3380'. | |
| arrive_by | No | Car only: Tehran time 'YYYY-MM-DD HH:MM' (Gregorian) to arrive by. Gives leave_by. | |
| depart_at | No | Car only: Tehran time 'YYYY-MM-DD HH:MM' (Gregorian) to leave at, e.g. '2026-11-01 08:00'. Gives arrive_at. | |
| avoid_tolls | No | Car only: avoid toll roads. | |
| destination | Yes | End 'lat,lng'. | |
| avoid_odd_even | No | Car only: avoid the odd-even zone. | |
| avoid_traffic_zone | No | Car only: avoid Tehran's traffic-plan zone. |