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和详细地理信息。
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": {
"city_name": "<city_name>"
},
"name": "get_location_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city_name | Yes | 需要查询地区的名称(拼音如'beijing')、以英文逗号分隔的经度,纬度坐标(例如 116.41,39.92)、LocationID或Adcode(仅限中国城市)。 |