get_location_id
Retrieve precise location ID and detailed geographic data using city names (pinyin/English), coordinates, LocationID, or Adcode for accurate weather forecast integration.
Instructions
根据城市名称(拼音/英文)、经纬度、LocationID或Adcode获取其精确的位置ID和详细地理信息。
Input Schema
Name | Required | Description | Default |
---|---|---|---|
city_name | Yes | 需要查询地区的名称(拼音如'beijing')、以英文逗号分隔的经度,纬度坐标(例如 116.41,39.92)、LocationID或Adcode(仅限中国城市)。 |
Input Schema (JSON Schema)
{
"properties": {
"city_name": {
"description": "需要查询地区的名称(拼音如'beijing')、以英文逗号分隔的经度,纬度坐标(例如 116.41,39.92)、LocationID或Adcode(仅限中国城市)。",
"type": "string"
}
},
"required": [
"city_name"
],
"type": "object"
}