Generate weather log
generate_weather_logUse this when the user wants weather history, historical weather data, historical weather by date and location, or a daily weather data download. Reads station observations and generates Excel and CSV weather logs with rain days for construction delay and thresholds. US only; up to five sites and 366 days, from 1900 through today UTC. Files expire in about an hour. Do not use for forecasts, current conditions or certified weather reports.
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": {
"sites": "<sites>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "generate_weather_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sites | Yes | Up to five US places, ZIPs, addresses or station IDs after removing blanks and duplicates; e.g. ["Denver, CO","10024"]. | |
| heat_f | No | Heat-day minimum degrees F, inclusive; e.g. 90. | |
| rain_in | No | Rain-day minimum in inches, inclusive; e.g. 0.10. | |
| snow_in | No | Snow-day minimum in inches, inclusive; e.g. 1.0. | |
| end_date | Yes | Calendar date YYYY-MM-DD, e.g. 2026-09-01. | |
| freeze_f | No | Freeze-day maximum degrees F, inclusive; e.g. 32. | |
| gust_mph | No | Peak gust minimum mph, inclusive; e.g. 40. Average wind is not a substitute. | |
| start_date | Yes | Calendar date YYYY-MM-DD, e.g. 2026-09-01. | |
| weather_day_rule | No | Weather day is any selected threshold, e.g. ["rain","snow"]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| sites | Yes | ||
| source | Yes | ||
| preview | Yes | ||
| end_date | Yes | ||
| downloads | Yes | ||
| start_date | Yes | ||
| duplicates_removed | Yes |