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.
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": "subscribe_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) |