Get Active Weather & Hazard Warnings (CAP)
get_weather_warningsReturns active Common Alerting Protocol (CAP) weather and natural-hazard warnings from Veðurstofa Íslands (api.vedur.is/cap), returning an explicit empty state when none are active (max 20).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_weather_warnings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum active alerts to return (1-20, default 20). | |
| region | No | Optional forecast area or keyword filter (e.g. Capital, South, Faxaflói, Westfjords, North, East). | |
| category | No | Optional CAP alert category filter (default all). |