get_weather_alerts
Fetch active PAGASA weather alerts and advisories such as Heavy Rainfall Warning and Flood Advisory. Returns empty when no warnings are active.
Instructions
Get active PAGASA weather alerts and advisories.
The PAGASA homepage embeds alert names ("Heavy Rainfall Warning",
"Flood Advisory") in its navigation menu and breadcrumbs as well as
in actual active-warning sections. We can reliably detect the
"No Active Warnings" state but cannot yet isolate active warnings
from chrome text. To avoid fabricated advisories, this tool returns
[] with a caveat when the page is reachable but the state is
ambiguous, and [] with the explicit "no active warnings" signal
when the homepage says so. For real-time advisories, call
bagong.pagasa.dost.gov.ph directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | e.g. "NCR", "Region VII", "CALABARZON". None returns all. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |