SMHI — Active Weather Warnings for Sweden
smhi.weather.warningsRetrieve all active official SMHI weather warnings for Sweden, including event type, warning level, affected counties and municipalities, and time windows in English or Swedish.
Instructions
Get all currently active official weather warnings issued by SMHI for Sweden. Returns event type, warning level, affected areas, and time windows in English. Warning levels: MESSAGE (advisory), YELLOW (moderate risk), ORANGE (significant risk), RED (extreme risk). Event types include: WIND (storm), PRECIPITATION (heavy rain/snow), THUNDERSTORM, SNOWFALL, SLEET, FIRE (wildfire risk), FROST, FOG, HIGH_TEMPERATURE, LOW_SEA_LEVEL, HIGH_SEA_LEVEL, WATER_SHORTAGE, WIND_SEA, AVALANCHE. Each warning specifies the Swedish counties (Länen) and municipalities affected. SMHI is the official Swedish meteorological authority — these are the same warnings issued to emergency services and broadcast to the Swedish public. No API key required — SMHI open data, Creative Commons BY 4.0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Response language preference (not sent to API — all warnings include English). "en" = English area names (default). "sv" = Swedish area names. | en |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |