get_air_quality
Retrieve air quality data for a city including PM2.5, PM10, ozone, and other pollutants. Get health advisories based on current levels.
Instructions
Get air quality information for a specified city including PM2.5, PM10, ozone, nitrogen dioxide, carbon monoxide, and other pollutants. Provides health advisories based on current air quality levels.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"city": "<city>"
},
"name": "get_air_quality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | The name of the city to fetch air quality information for, PLEASE NOTE English name only, if the parameter city isn't English please translate to English before invoking this function. | |
| variables | No | Air quality variables to retrieve. If not specified, defaults to pm10, pm2_5, ozone, nitrogen_dioxide, and carbon_monoxide. |