get_historical_weather
Retrieve historical weather statistics for a specific month across multiple years, including temperatures, precipitation, and wind speed. Supports city or coordinates, up to 10 years back.
Instructions
Retrieve historical weather data for a specific month over multiple years. Returns monthly statistics including average, max, and min temperatures, total precipitation, and average wind speed. Default retrieves data for the past year, up to 10 years available. Accepts either city name OR latitude/longitude coordinates.
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": {
"month": "<month>"
},
"name": "get_historical_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City name. Required if latitude/longitude not provided. | |
| month | Yes | Month number (1-12, where 1=January, 12=December) | |
| country | No | Optional country code | |
| latitude | No | Latitude coordinate. Must be provided with longitude if city is not specified. | |
| longitude | No | Longitude coordinate. Must be provided with latitude if city is not specified. | |
| years_back | No | Number of years back to retrieve (1-10, default: 1) |