Get Latest
get_latestGet the latest reading for every pollutant at a specific OpenAQ station (by location id from find_stations). Returns each parameter (PM2.5, O3, NO2, etc.) with its value, units, and measurement time.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"location_id": 1575
},
"name": "get_latest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _apiKey | No | OpenAQ API key (optional; the gateway supplies one). | |
| location_id | Yes | OpenAQ location/station id (from find_stations or air_quality_near). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of stations returned | |
| stations | Yes | List of air quality stations with latest measurements |