Air quality at a Philippine location
get_air_qualityCheck real-time air quality for Philippine cities, with pollutant levels (PM2.5, PM10, CO, NO2, SO2, O3) and AQI readings.
Instructions
Real-time air quality for a Philippine city via Open-Meteo (no API key).
Returns PM2.5, PM10, CO, NO2, SO2, and O3, plus European AQI and US AQI with category interpretation. Covers about 80 major PH cities through a local coordinate table. measured_at is always UTC, never Asia/Manila time. Examples:
get_air_quality("Manila") # current readings for Metro Manila get_air_quality("Cebu City") # current readings for Cebu City get_air_quality("Davao") # current readings for Davao City
On failure: a location not in the coordinate table returns data_status "invalid_request", with validation_error true and a caveat naming the location. An Open-Meteo fetch failure returns data_status "unavailable", with upstream_error true and the real error text in caveats. A response with no time, an unparseable time, or no pollutant field returns data_status "indeterminate", with upstream_error true and a caveat naming the problem.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | City or municipality name, such as "Manila", "Cebu City", or "Davao". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||