get_weather_warnings
Retrieve currently active official SMHI weather warnings for Sweden. Filter by county and minimum severity to focus on alerts for wind, rain, snow, thunder, heat, flooding, and fire risk.
Instructions
Get currently active official SMHI weather warnings/alerts for Sweden (impact-based warnings for wind, rain, snow, thunder, high temperatures, flooding, fire risk, and more). Not coordinate-based — returns all active warnings, each tagged with the county/area it affects, so filter by county name and/or minimum severity to narrow results. Severity levels from most to least severe: RED > ORANGE > YELLOW > MESSAGE. Use this for "is there a storm warning" type questions; use the forecast tools for general future conditions and get_fire_risk for the underlying fire danger index. Returns an error result (isError: true) if the SMHI warnings API is unreachable. Coverage: Sweden only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| county | No | Only return warnings affecting this county or area (case-insensitive substring match against the warning's area name and affected counties), e.g. "Stockholm" or "Gotland" | |
| language | No | Language for warning text: "en" (English) or "sv" (Swedish) | en |
| minSeverity | No | Only return warnings at or above this severity (RED > ORANGE > YELLOW > MESSAGE). Omit to return all active warnings. |