Get weather warnings
get_weather_warningsGet active weather warnings for Spain or any Spanish region, including severity, phenomenon, affected area, and validity, from AEMET CAP alerts.
Instructions
Get the latest active weather warnings (CAP alerts) issued by AEMET for a Spanish region or the whole country: severity level, phenomenon, affected zone and validity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | Yes | AEMET area code: 'esp' for all of Spain, or a 2-digit CCAA code (e.g. 61 for Andalucía). Warnings are returned as CAP (Common Alerting Protocol) alerts converted to JSON. |