get-station-code-of-citys
Retrieve the station code for one or multiple Chinese cities by entering their names. This tool prepares the required station_code parameter for APIs when users specify cities as departure or arrival points.
Instructions
通过中文城市名查询代表该城市的 station_code
。此接口主要用于在用户提供城市名作为出发地或到达地时,为接口准备 station_code
参数。
Input Schema
Name | Required | Description | Default |
---|---|---|---|
citys | Yes | 要查询的城市,比如"北京"。若要查询多个城市,请用|分割,比如"北京|上海"。 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"citys": {
"description": "要查询的城市,比如\"北京\"。若要查询多个城市,请用|分割,比如\"北京|上海\"。",
"type": "string"
}
},
"required": [
"citys"
],
"type": "object"
}