Find routes between two places
find_routesCompare ways to travel between two places in Japan, combining trains, subways, buses, flights, ferries, walking and (optionally) taxi or bicycle. Returns several itineraries with duration, fare, transfers, walking time and expected crowding, plus the URL of the result page. Times and fares are estimates computed from typical travel times and service intervals, not from timetables. Returns page (the same search on the site, with map), query (resolved date and time in Japan time), from, to, itineraries[]: depart, arrive, durationMinutes, fareYen (whole party), fareAdultYen, transfers, walkMinutes, crowdMax (1 = empty to 5 = very crowded), ease (0 to 100), tags (recommended, fastest, cheapest, easiest, calmest), advice[], legs[] (mode, line, from, to, depart, arrive, fareYen, crowdLevel). empty is set when nothing was found.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "find_routes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | Number of adults (12 and over). | |
| c | No | Number of children aged 6 to 11 (child fare). | |
| d | No | Date in Japan time, YYYY-MM-DD. Omit both d and t to search from now. With d only, the search starts at 09:00. | |
| i | No | Number of infants aged 0 to 5. | |
| m | No | Whether d/t is the departure time or the latest arrival time. | depart |
| p | No | Traveler situation, comma-separated. Any of: luggage, stroller, kids, wheelchair, senior, simple, jrpass. (luggage = large suitcases, stroller = with a baby stroller, kids = with children, wheelchair = step-free routes, senior = avoid long walks, simple = fewer and easier transfers, jrpass = holds a Japan Rail Pass.) | |
| t | No | Time in Japan time, HH:MM (24-hour). | |
| w | No | Longest acceptable single walk, in minutes. | |
| x | No | Transport to exclude, comma-separated. Any of: shinkansen, limited, flight, bus, hbus, ferry. (limited = limited express trains, hbus = highway buses.) | |
| to | Yes | Destination. A place ID (for example "tokyo", "kyoto", "spot-sensoji"; find IDs with search_places), or a map point written as "@lat,lng,label" (for example "@35.7148,139.7967,Senso-ji"). | |
| bike | No | Set to 1 to include bicycle options. | |
| from | Yes | Origin. A place ID (for example "tokyo", "kyoto", "spot-sensoji"; find IDs with search_places), or a map point written as "@lat,lng,label" (for example "@35.7148,139.7967,Senso-ji"). | |
| lang | No | Language of names and texts in the response. Long descriptions exist in Japanese and English only; other languages fall back to English. | en |
| taxi | No | Set to 1 to include taxi options. | |
| limit | No | Maximum number of itineraries. |