Get Air Quality
weather.air.qualityRetrieve the Air Quality Index for any city, coordinates, or zip code. Optionally include a 24-hour forecast.
Instructions
Get air quality index for a location
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | City name, coordinates (lat,lon), or zip code | |
| include_forecast | No | Include air quality forecast for next 24h |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |