Current By Location
current_by_locationLatest observed air quality index (AQI) for the EPA AirNow reporting area nearest a latitude/longitude in the US: one row per pollutant with AQI value, category, observation hour, agency and yesterday's AQI. Answers "what is the air quality at these coordinates right now".
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": {
"latitude": 40.7128,
"longitude": -74.006
},
"name": "current_by_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | Yes | US latitude | |
| longitude | Yes | US longitude | |
| distance_miles | No | Search radius for the nearest reporting area (default 25, max 250) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of observations returned | |
| latitude | Yes | Query latitude | |
| longitude | Yes | Query longitude | |
| observations | Yes | Latest AQI observations for nearest station |