get_forecast
Retrieve weather forecasts for US locations in daily, hourly, or raw gridpoint modes. Supports unit conversion and configurable time periods.
Instructions
Get forecast for a US location.
Use when: "What's the forecast?", "Will it rain?", "Weather this week?"
mode="daily": 12-hour day/night periods with narrative forecasts (default). mode="hourly": hour-by-hour temperature, precip chance, wind. mode="raw": gridpoint time-value series for temperature, dewpoint, wind, precip, sky cover.
days (1-7) controls daily mode. hours (1-48) controls hourly mode. Omit lat/lon to use configured primary location.
Note: the main temperature and wind fields in daily/hourly periods come from NWS pre-formatted data and are always in Fahrenheit/mph. The units parameter affects enriched fields: dewpoint/frost_point, feels_like, pressure, and snow/ice accumulation. Use mode="raw" for full unit-agnostic gridpoint data.
units: "us" or "si" for base system, with optional field overrides: "us,pressure:mb,wind:kt". Fields: temperature (f|c), pressure (inhg|mb), wind (mph|kt|kmh|ms), distance (mi|km), accumulation (in|mm|cm).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | No | ||
| longitude | No | ||
| mode | No | daily | |
| days | No | ||
| hours | No | ||
| units | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||