Search transfer journeys
search_journeysFind multi-leg train routes with transfers across Japan. Specify stations, date, and filters to receive journey options with connections.
Instructions
Use for routes that may include transfers, not for an individual train. The Shinkansen-first v0.1 provider reports this capability as unsupported rather than returning direct trains under the wrong concept.
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": {
"fromStationId": "<fromStationId>",
"toStationId": "<toStationId>",
"date": "<date>"
},
"name": "search_journeys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| operators | No | ||
| toStationId | Yes | Canonical ID returned by search_stations. | |
| serviceTypes | No | ||
| fromStationId | Yes | Canonical ID returned by search_stations. | |
| departureAfter | No | ||
| departureBefore | No | ||
| includeNonShinkansen | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| journeys | Yes |