get_air_quality
Get current air quality for any city, with US AQI and pollutant levels. Use it to determine if outdoor activities are safe, especially for sensitive groups.
Instructions
Get the current air quality for a city, from real-time monitoring and atmospheric model data. Use for any "what's the air quality in X", "is it safe to go outside in Y", "how polluted is Z" style question, or whenever pollen/smog/wildfire-smoke/pollution conditions are relevant to a plan (running, cycling, sensitive-groups advice, travel).
city is a free-text place name (e.g. "Bangkok", "Berlin", "Springfield, US").
Returns a dict with:
location: resolved place name/country/admin1us_aqi: the current US Air Quality Index (0-500+)aqi_category: plain-language category computed fromus_aqi-- "Good" (0-50), "Moderate" (51-100), "Unhealthy for Sensitive Groups" (101-150), "Unhealthy" (151-200), "Very Unhealthy" (201-300), or "Hazardous" (301+); "Unknown" if no AQI could be resolved for that locationpm2_5,pm10: particulate matter concentrations (ug/m3)ozone,nitrogen_dioxide,sulphur_dioxide,carbon_monoxide: trace gas concentrations (ug/m3)local_time: the timestamp of the reading, in the location's local timeattribution
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||