Airquality Get Forecast
airquality_get_forecastGet hourly air quality forecast for a location. Returns US AQI, PM2.5, and PM10 predictions. Use to plan activities or alert users to upcoming poor air conditions.
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": {
"days": 3,
"latitude": 40.7128,
"longitude": -74.006
},
"name": "airquality_get_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of forecast days (1-7, default 3). | |
| latitude | Yes | Latitude of the location. | |
| longitude | Yes | Longitude of the location. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | Yes | Hourly air quality forecast | |
| latitude | Yes | Latitude of the location | |
| longitude | Yes | Longitude of the location |