get-station-code-of-citys
get-station-code-of-citysFind station codes for Chinese cities to prepare departure or destination parameters for 12306 ticket booking queries.
Instructions
通过中文城市名查询代表该城市的 station_code。此接口主要用于在用户提供城市名作为出发地或到达地时,为接口准备 station_code 参数。
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": {
"citys": "<citys>"
},
"name": "get-station-code-of-citys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| citys | Yes |