Air current reading
air_current_readingRetrieve the latest air-quality reading for any location. Pass a location ID to get current sensor data from AirGradient, AirThings, PurpleAir, IQAir, or Awair.
Instructions
Fetches the most recent air-quality reading for a location. Defaults to the AirGradient public sensor at WELLNESS_AIR_DEFAULT_LOCATION (or pass locationId).
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": "air_current_reading"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | Provider to query. Defaults to airgradient. | |
| locationId | No | Provider-specific location identifier. | |
| privacy_mode | No | Optional privacy mode: summary | structured | raw. summary omits location identifiers and device serials when present; structured/raw return full payload. |