Get Air Quality
getAirQualityRetrieve current air quality data for any city. Input the city name to get air quality index and pollution levels.
Instructions
Get air quality information for a city
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": "getAirQuality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | The city name |