get_weather_history
Retrieve historical daily weather data for any location back to 1940, including temperature, precipitation, and wind for a chosen date range.
Instructions
Retrieve historical weather data for any location, going back to 1940.
Args:
latitude: Decimal degrees latitude.
longitude: Decimal degrees longitude.
start_date: Start date in YYYY-MM-DD format (e.g. "2024-01-01").
end_date: End date in YYYY-MM-DD format (e.g. "2024-01-07"). Max range: 1 year.
temperature_unit: "celsius" (default) or "fahrenheit".
Returns:
Daily historical weather records including temperature, precipitation, and wind.
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": {
"latitude": "<latitude>",
"longitude": "<longitude>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_weather_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | ||
| latitude | Yes | ||
| longitude | Yes | ||
| start_date | Yes | ||
| temperature_unit | No | celsius |