Get Current Weather
get_current_weatherRetrieve current weather conditions for a city by providing its English name and optional state or country. Returns weather details in Chinese.
Instructions
查询指定城市的当前天气。支持英文城市名,返回中文天气信息。
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": "<city>"
},
"name": "get_current_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | 城市英文名,例如 Nanhai(南海)、Foshan(佛山) | |
| state | No | 省/州英文名,例如 Guangdong(广东) | |
| country | No | 国家英文名,例如 China |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |