Current Air Quality & UV Index
weather_get_air_qualityGet real-time Air Quality Index, health rating, fine particle levels (PM2.5 and PM10), ozone, and UV index for any city shortcut or latitude and longitude worldwide.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "weather_get_air_quality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Alias for latitude. | |
| lon | No | Alias for longitude. | |
| latitude | No | Latitude in decimal degrees (-90 to 90). | |
| longitude | No | Longitude in decimal degrees (-180 to 180). | |
| spend_key | No | Optional prepaid API key for paid lookups. Can also be sent in the x-atlas-spend-key header. | |
| credit_key | No | Optional prepaid API key for paid lookups. Can also be sent in the x-atlas-spend-key header. | |
| destination | No | Optional featured city shortcut (or supply explicit latitude and longitude anywhere worldwide). | |
| builder_code | No | Optional partner referral code for revenue sharing. | |
| idempotency_key | No | Optional unique request ID so retries are never billed twice. | |
| payment_signature | No | Optional direct payment header when paying per request without a prepaid API key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| us_aqi | No |