Philippine volcano alert levels
get_volcano_statusRetrieves current alert levels for monitored Philippine volcanoes from PHIVOLCS. Accepts an optional volcano name to filter results for a single volcano.
Instructions
Get current alert level for Philippine volcanoes.
Reads the WOVODAT bulletin list PHIVOLCS publishes for its monitored volcanoes: Mayon, Taal, Kanlaon, Bulusan, Pinatubo, Hibok-Hibok, and Parker. When one volcano's bulletin fetch fails, that entry carries upstream_error true and a caveat with the real error, not a null alert_level. Examples:
get_volcano_status() all monitored volcanoes, one call get_volcano_status("Mayon") one volcano by name get_volcano_status("Taal")
On failure: WOVODAT list unreachable or empty gives data_status "unavailable", upstream_error true, results: [], and the real error in caveats. An unmatched volcano_name gives a one-item list with alert_level null and a caveat, not a failure envelope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| volcano_name | No | e.g. "Mayon", "Taal", "Kanlaon", "Bulusan". None returns all monitored volcanoes with recent bulletins. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |