get-station-code-by-names
Query Chinese station names to retrieve their station_code for 12306 ticket searches. Accepts multiple names separated by '|'.
Instructions
通过具体的中文车站名查询其 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": {
"stationNames": "<stationNames>"
},
"name": "get-station-code-by-names"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stationNames | Yes | 具体的中文车站名称,例如:"北京南", "上海虹桥"。若要查询多个站点,请用|分割,比如"北京南|上海虹桥"。 |