get_alerts
Retrieve current weather alerts and warnings for any US state. Cache ensures quick access to up-to-date information.
Instructions
Get active weather alerts for a US state.
Provides current weather alerts and warnings for the specified state. Checks cache first (30 min expiry), fetches fresh if needed.
Args: state: Two-letter US state code (e.g. CA, NY)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"state": "<state>"
},
"name": "get_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |