Odpt Train Timetable
odpt_train_timetableStop-by-stop scheduled timetable for one specific Japanese train run, by railway and train number: every station it calls at with arrival/departure time. Covers Tokyo Metro, JR East, Toei and other Japan railway operators. Train numbers come from odpt_station_timetable rows. Needs an ODPT developer consumer key via _apiKey; Pipeworx supplies one if omitted. Example: odpt_train_timetable({ railway: "odpt.Railway:JR-East.Yamanote", train_number: "1234G" }).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"railway": "odpt.Railway:Toei.Mita",
"train_number": "535T"
},
"name": "odpt_train_timetable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _apiKey | Yes | Optional: your own ODPT developer consumer key. Pipeworx supplies one if omitted. | |
| railway | Yes | Exact odpt.Railway id, e.g. "odpt.Railway:JR-East.Yamanote" or "odpt.Railway:TokyoMetro.Marunouchi". | |
| train_number | Yes | The train number as shown in a station timetable row, e.g. "1234G". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | ||
| railway | No | ||
| data_as_of | No | ||
| timetables | No | ||
| train_number | No |