Waqi
environment__waqiRetrieve real-time Air Quality Index (AQI) data for any city using the World Air Quality Index Project, providing freshness scores and source verification for environmental monitoring.
Instructions
[Environment & Air Quality Agent] Get real-time Air Quality Index (AQI) data for a city from the WAQI project. Source: World Air Quality Index Project (CC-BY-NC 4.0), updates real-time. Returns the Katzilla envelope { data, quality, citation } — quality scores freshness/uptime/confidence; citation carries the source URL, license, and a SHA-256 data hash for audit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City name or station identifier | beijing |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Structured payload from the upstream source. | |
| text | No | Pre-rendered text representation, when applicable. | |
| quality | Yes | Quality scorecard: freshness, uptime, completeness, confidence, certainty. | |
| citation | Yes | Provenance block — source, license, retrieval timestamp, SHA-256 data hash, pre-formatted citation text. |