query_context
Fetch weather, pollen, or air quality data for a chosen field and inclusive date range to add environmental context to Garmin archive analysis.
Instructions
Query external context data (weather, pollen, air quality) for one field over a date range. Use query_health for Garmin body data (heart rate, sleep, stress, ...) instead; call list_available_fields first if the exact field name is unknown.
field: a context field name (e.g. "temperature_max", "pollen_grass_series"), or a category name — "weather", "pollen" or "air" — to get the main fields of that category at once. A "_series" suffix means intraday timeseries data; a plain name means one value per day. date_from/date_to: ISO "YYYY-MM-DD", inclusive. resolution is accepted but ignored — the field name alone decides the shape.
Unknown or ambiguous field names return an "error", often with a "did_you_mean" list of candidates. A clear typo or alias is resolved automatically; _meta.field_resolved_from / field_used then show what was substituted. A field with no data in the range returns empty values, not an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | ||
| date_to | Yes | ||
| date_from | Yes | ||
| resolution | No | daily |