get_current_weather
Retrieves real-time weather data for any city using name, coordinates, or location ID. Supports multiple languages and unit systems.
Instructions
获取指定城市的实时天气。
Args:
location: 城市名称(如"北京")、经纬度(格式"lng,lat"如"116.41,39.92")或 Location ID。
lang: 可选,多语言设置(如 "zh"、"en"),不传则用服务端默认。
unit: 可选,数据单位,"m" 公制(默认)/"i" 英制。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | ||
| unit | No | ||
| location | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |