query-transfer
Find train transfer solutions between stations in China. Enter departure and arrival stations with date to get transfer options, including student tickets and seat preferences.
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": {
"from_station": "<from_station>",
"to_station": "<to_station>",
"train_date": "<train_date>"
},
"name": "query-transfer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_station | Yes | 出发站 | |
| to_station | Yes | 到达站 | |
| train_date | Yes | 出发日期,格式:YYYY-MM-DD | |
| middle_station | No | 指定中转站(可选) | |
| isShowWZ | No | 是否显示无座车次(Y/N) | N |
| purpose_codes | No | 乘客类型(00=普通,0X=学生) | 00 |