get_weather
Fetch current weather for a specified city using English or Chinese names; Chinese city names are translated to English automatically.
Instructions
Get current weather for a city. Chinese city names are automatically translated to English.
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_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City name in English or Chinese |