Weather now and the days ahead
get_weatherPlain-language weather for a place: one sentence first, then current conditions, the next 24 hours, the next 7 days, and official alerts. Use it for "what's the weather", "do I need a jacket", "is it going to rain". For a decision about doing something outdoors (a run, a hike, staining a deck), use outdoor_activity_weather instead: it answers "should I?", not just "what is it?". data.current says whether it is a station observation, a model estimate, or a forecast hour. data.alerts.status says whether "no alerts" can be believed: only "ok" means we checked. Answers carry their sources, how old the data is, and say so when it came from cache.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | Hours of hourly detail to include. Default 24. | |
| units | No | imperial (F, mph, inches) or metric (C, km/h, mm). Defaults to imperial in the United States and metric elsewhere. | |
| latitude | No | Latitude in degrees. Use with longitude instead of location. | |
| location | No | A place name such as "Glenbeulah, WI" or "Greenbush, Wisconsin", or coordinates as "43.79,-88.05". Add the state or country for small towns, because a bare "Greenbush" matches several places. | |
| longitude | No | Longitude in degrees, west negative. Use with latitude instead of location. |