Odpt Station Timetable
odpt_station_timetableScheduled departure timetable at a Japanese train station (Tokyo Metro, JR East, Toei and other Japan railway operators): destination, departure time, train type and direction, for weekday/Saturday/holiday calendars. Resolve the station first with odpt_resolve_station to get its exact station_id (or pass a plain station name and this will resolve it for you, taking the first match). Needs an ODPT developer consumer key via _apiKey; Pipeworx supplies one if omitted. Example: odpt_station_timetable({ station: "Shinjuku", operator: "Tokyo Metro" }).
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": {
"station": "Hakusan",
"operator": "Toei"
},
"name": "odpt_station_timetable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _apiKey | Yes | Optional: your own ODPT developer consumer key. Pipeworx supplies one if omitted. | |
| railway | No | Optional: keep only this railway, e.g. "odpt.Railway:TokyoMetro.Marunouchi". | |
| station | Yes | Station name (English or Japanese) or an exact odpt.Station id from odpt_resolve_station. | |
| calendar | No | Optional: keep only this calendar, e.g. "odpt.Calendar:Weekday" or "odpt.Calendar:SaturdayHoliday". | |
| operator | No | Operator to search when `station` is a plain name and could match more than one operator, e.g. "Tokyo Metro". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | ||
| station | No | ||
| data_as_of | No | ||
| timetables | No |