subscribe_alerts
Connect to RedAlert Socket.IO server and receive real-time emergency alerts. Filter by alert types or enable test mode for simulated alerts.
Instructions
Connect to RedAlert Socket.IO server and start receiving real-time emergency alerts. Optionally filter by alert types and enable test mode for simulated alerts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alertTypes | No | Alert types to subscribe to. If omitted, subscribes to all. Valid types: missiles, earthQuake, tsunami, hostileAircraftIntrusion, hazardousMaterials, terroristInfiltration, newsFlash, unconventionalWarfare, radiologicalEvent, generalAlert, missilesDrill, radiologicalEventDrill, earthQuakeDrill, tsunamiDrill, hostileAircraftIntrusionDrill, hazardousMaterialsDrill, terroristInfiltrationDrill | |
| testMode | No | If true, connect to test server with simulated alerts instead of live alerts | |
| timing | No | Interval between alerts from test server, e.g. "5s", "1m" (minimum 1s) |