get_alerts
Retrieve structured CAP weather alerts for Greece, with options to select language and filter for active alerts only.
Instructions
Get structured CAP weather alerts for Greece.
Args:
language: "en" or "el" for the alert text (falls back to whatever EMY
provides).
active_only: if True, drop alerts whose expires time is in the past.
Each alert includes event, severity, urgency, certainty, onset/expiry, headline, description and affected areas.
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": "get_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | en | |
| active_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||