Weather Forecast
weather_forecastGet a multi-day US forecast by latitude and longitude, including named periods, temperature, wind, and short or detailed outlooks. Use geocoding first for addresses; hourly data is optional.
Instructions
Get a multi-day weather forecast for a US location by latitude/longitude (National Weather Service). Returns named periods (Today, Tonight, ...) with temperature, wind, and a short + detailed forecast. Use geocode first if you only have an address.
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": {
"lat": "<lat>",
"lon": "<lon>"
},
"name": "weather_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude in decimal degrees, e.g. 36.1867. US coverage only (National Weather Service). | |
| lon | Yes | Longitude in decimal degrees, negative in the western hemisphere, e.g. -94.1288. | |
| hourly | No | If true, return the hourly forecast instead of daily periods. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| source | No | ||
| periods | No | ||
| location | No | ||
| timezone | No | ||
| provenance | No | Where this answer came from. served_at is when Datakoot answered (UTC); upstream lists the official sources consulted. Datakoot may serve a briefly cached copy, so the source's own observation can be older than served_at. |