天气查询
weather_query查询指定城市的当前天气与未来数日预报(温度/天气现象/风力/湿度)。Example: {"city":"北京","days":3}
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"city": "北京",
"days": 3
},
"name": "weather_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | 城市名,如 北京、上海、深圳、Hangzhou | |
| days | No | 预报天数 1-7,默认 1(仅当前天气) |