Air quality
get_air_qualityLatest PM2.5, NO2, O3 from the nearest monitoring stations (OpenAQ; the server needs an OPENAQ_API_KEY), with each station's data licence.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"latitude": "<latitude>",
"longitude": "<longitude>"
},
"name": "get_air_quality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | Yes | Latitude in degrees (WGS84) | |
| longitude | Yes | Longitude in degrees (WGS84) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| units | No | Unit of each numeric field | |
| status | No | ok | |
| channel | Yes | ||
| features | Yes | Records from the data source | |
| warnings | No | Caveats to tell the user | |
| provenance | No | Source, licence, attribution, retrieval time and method | |
| total_results | No |