Get subway schedule
get_subway_scheduleRetrieve subway station timetable departures by day type and direction; use a station ID from find_subway_stations to check weekday, Saturday, or Sunday schedules.
Instructions
Get timetable departures at a subway station for a day type (01 weekday, 02 Saturday, 03 Sunday) and direction (U up, D down). Obtain subwayStationId from find_subway_stations.
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": {
"subwayStationId": "<subwayStationId>",
"dailyTypeCode": "<dailyTypeCode>",
"upDownTypeCode": "<upDownTypeCode>"
},
"name": "get_subway_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-1000); defaults to 1 | |
| pageSize | No | Maximum items per page (1-100); defaults to 10 | |
| dailyTypeCode | Yes | Day type: 01 weekday, 02 Saturday, 03 Sunday | |
| upDownTypeCode | Yes | Direction code: U upbound, D downbound | |
| subwayStationId | Yes | Subway station ID from find_subway_stations |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| sourceUrl | Yes | ||
| catalogUrl | Yes | ||
| observedAt | Yes | ||
| totalCount | Yes | ||
| sourceService | Yes |