get-train-route-stations
Retrieve detailed stop information for a specific train, including station names, arrival and departure times, and dwell times. Provide the train code and departure date to get the full route schedule.
Instructions
查询特定列车车次在指定区间内的途径车站、到站时间、出发时间及停留时间等详细经停信息。当用户询问某趟具体列车的经停站时使用此接口。
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": {
"trainCode": "<trainCode>",
"departDate": "<departDate>"
},
"name": "get-train-route-stations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | 返回结果格式,默认为text,建议使用text。可选标志:[text, json] | text |
| trainCode | Yes | 要查询的车次 `train_code`,例如"G1033"。 | |
| departDate | Yes | 列车出发的日期 (格式: yyyy-MM-dd)。如果用户提供的是相对日期,请务必先调用 `get-current-date` 解析。 |