Get forecast
get_forecastRetrieve daily forecasts for up to 16 days at specified coordinates with temperature, precipitation probability, and wind, plus optional hourly forecasts for up to 48 hours.
Instructions
Daily forecast for up to 16 days (weather, min/max temperature, precipitation and its max probability, max wind) at the given coordinates and, with hourly: true, an hourly forecast for up to 48 hours (temperature, precipitation probability, weather). Times are local to the place. Use search_locations first if you only have a place name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of forecast days (1–16, default 7) | |
| hours | No | Number of hourly steps from now (1–48, default 24); ignored if hourly is false | |
| hourly | No | Also return the hourly forecast (default false) | |
| latitude | Yes | Latitude in decimal degrees (-90 to 90), e.g. -31.4135 | |
| longitude | Yes | Longitude in decimal degrees (-180 to 180), e.g. -64.18105 | |
| wind_speed_unit | No | Wind speed unit: kmh, ms, mph or kn (default kmh) | kmh |
| temperature_unit | No | Temperature unit: celsius or fahrenheit (default celsius) | celsius |