get_hourly_forecast
Get hour-by-hour weather forecasts for the next 1-48 hours, including temperature, wind, precipitation, and conditions. Ideal for checking if it will rain in the coming hours.
Instructions
Get an hour-by-hour weather forecast for the next 1-48 hours (default 24): temperature, wind, precipitation, and conditions per hour. Use this to answer questions like "will it rain in the next few hours"; use get_current_weather for a single now-reading, get_daily_summary for a multi-day high/low overview, or get_forecast for the complete raw dataset. Temperature in °C, wind speed in m/s, precipitation in mm, probabilities in %. Returns an error result (isError: true) if coordinates are out of range or the SMHI API is unreachable. Coverage: Sweden, Norway, Finland, Denmark, Estonia, and parts of Latvia/Lithuania.
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": {
"latitude": "<latitude>",
"longitude": "<longitude>"
},
"name": "get_hourly_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | Number of hours to forecast (1-48, default 24) | |
| latitude | Yes | Latitude of the location (-90 to 90) | |
| longitude | Yes | Longitude of the location (-180 to 180) |