Real-time weather and forecast
weather_queryReal-time weather and 1-7 day forecast for any city worldwide: temperature, feels-like, humidity, wind, precipitation probability. Live data from Open-Meteo, NOT from training data. Free, no API key required. |查询任意城市的实时天气与未来 1-7 天预报(温度、体感、湿度、风向、降水概率)。实时数据,不是训练数据。免费无需 Key。
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": "weather_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City name, Chinese or English | 城市名 | |
| days | No | Forecast days 1-7, default 3 | 预报天数 |