get_weather_alerts
Generate severe weather alerts by comparing forecast data to thresholds for heat, cold, storms, UV, and wind, with severity levels and recommendations for any location.
Instructions
Generate weather alerts based on thresholds and current forecast.
Automatically identifies severe weather conditions and generates actionable alerts.
Alert Types:
Heat warnings (temperature > 30°C for 3+ hours)
Cold warnings (temperature < -10°C)
Storm warnings (wind gusts > 80 km/h or thunderstorms)
UV warnings (UV index > 8)
Wind advisories (gusts 50-80 km/h)
Severity Levels:
Advisory: Precautionary, plan accordingly
Watch: Conditions favorable for alert type
Warning: Conditions expected, take precautions
Examples:
Check for heat waves during summer
Monitor for storms before outdoor events
Plan sun protection based on UV alerts
Args: latitude: Latitude in decimal degrees longitude: Longitude in decimal degrees forecast_hours: Hours to check for alerts (1-168, default: 24) timezone: Timezone for timestamps (default: 'auto')
Returns: Dictionary containing: - latitude, longitude: Location coordinates - timezone: Timezone name - alerts (list): List of active alerts with type, severity, timing, and recommendations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | Yes | ||
| timezone | No | auto | |
| longitude | Yes | ||
| forecast_hours | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||