map_weather
Retrieve real-time weather and multi-day forecast for any administrative region using its area code (adcode).
Instructions
天气查询:查询某行政区的实时天气与未来几日预报。city 参数需传行政区划编码 adcode(可先用 map_geocode 获取)。
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": "map_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | 行政区划编码 adcode,如北京'110000' | |
| platform | No | Map platform to use. Defaults to 'amap'. | amap |