Sync Garmin data
garmin_syncDownloads Garmin Connect data into the local cache in the background to refresh the newest activities or extend history back to an earlier date; track progress with a status call.
Instructions
Start downloading Garmin data into the local cache. Runs in the background and returns immediately; follow progress with garmin_sync_status.
You rarely need this: other tools sync automatically on first use and when the cache is over an hour old. Use it to:
fetch the latest data right now (e.g. "I just finished a run"),
extend history further back (from="2019-01-01"),
re-download everything (mode="full"), e.g. after editing many activities in Garmin Connect.
Domains (default: all except fit_files): activities, daily_summaries, sleep, hrv, weight, body_battery, hrv_readings, heart_rate, spo2. "fit_files" downloads the original FIT file of every activity (one request each, ~2 activities/s). That's optional: FIT files are otherwise fetched on demand by garmin_get_activity_laps and garmin_get_activity_streams.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Extend history back to this date (yyyy-MM-dd). History starts at your first activity by default; an earlier date fetches older wellness data. A later date has no effect: history is never narrowed. | |
| mode | No | auto: new data plus any history still missing. full: forget what's cached and re-download. | auto |
| domains | No | Only sync these domains. Defaults to all except "fit_files". |