get_forecast
Retrieve detailed weather forecasts for 1-14 days with daily summaries, hourly breakdowns, current conditions, astronomy data, and optional alerts and air quality information for any location worldwide.
Instructions
Get weather forecast for 1 to 14 days. Returns daily summaries (max/min/avg temp, rain chance, UV, wind) and hourly breakdowns. Also returns current conditions, astronomy data (sunrise/sunset/moon phase), and optionally weather alerts and air quality.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Location query — city name, lat/lon, zip, postcode, IATA, or IP. | |
| days | No | Number of forecast days (1–14). Default: 3. | |
| alerts | No | Include government weather alerts. Default: no. | |
| aqi | No | Include air quality data. Default: no. |