get-train-route-stations
Retrieve detailed train station route information, including stops, arrival/departure times, and duration, for any specified train journey between two stations. Useful for planning travel and understanding schedules.
Instructions
查询特定列车车次在指定区间内的途径车站、到站时间、出发时间及停留时间等详细经停信息。当用户询问某趟具体列车的经停站时使用此接口。
Input Schema
Name | Required | Description | Default |
---|---|---|---|
departDate | Yes | 列车从 `fromStationTelecode` 指定的车站出发的日期 (格式: yyyy-MM-dd)。如果用户提供的是相对日期,请务必先调用 `get-current-date` 解析。 | |
fromStationTelecode | Yes | 该列车行程的**出发站**的 `station_telecode` (3位字母编码`)。通常来自 `get-tickets` 结果中的 `telecode` 字段,或者通过 `get-station-code-by-name` 得到。 | |
toStationTelecode | Yes | 该列车行程的**到达站**的 `station_telecode` (3位字母编码)。通常来自 `get-tickets` 结果中的 `telecode` 字段,或者通过 `get-station-code-by-name` 得到。 | |
trainNo | Yes | 要查询的实际车次编号 `train_no`,例如 "240000G10336",而非"G1033"。此编号通常可以从 `get-tickets` 的查询结果中获取,或者由用户直接提供。 |