get_current_weather
Retrieve current weather conditions for a specified city, supporting Chinese and English city names, to answer real-time weather queries.
Instructions
Get current weather information for a city
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 | The city name to get weather for (e.g., "Beijing", "New York") |