get_current_aqi
Get the current Air Quality Index (AQI) for a location.
Provide either a zip_code OR latitude/longitude coordinates.
Returns AQI values, pollutant levels, and health category for
each measured pollutant at the nearest monitoring station.
Args:
zip_code: US ZIP code (e.g. '20001').
latitude: Latitude of the location (e.g. 38.9).
longitude: Longitude of the location (e.g. -77.0).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_current_aqi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | No | ||
| zip_code | No | ||
| longitude | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |