get_historical_aq
Get historical air quality data for a site or location, with health context.
Returns a 'narrative' with plain-English interpretation of trends, WHO guideline exceedances, and guideline comparisons. Present the narrative to users first. Also returns raw 'data' and 'summary' statistics.
Args: start_date: Start date (ISO format, e.g. "2025-01-01"). end_date: End date (ISO format). location: Postcode, place name, or "lat,lon". Provide this or site_code. site_code: Direct site code. Provide this or location. pollutants: Optional filter, e.g. ["NO2", "PM2.5"]. frequency: "hourly", "daily", or "monthly" (default "daily").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | ||
| location | No | ||
| frequency | No | daily | |
| site_code | No | ||
| pollutants | No | ||
| start_date | Yes |