Sync Garmin data
garmin_syncDownloads Garmin Connect data into the local cache to refresh or preload a date range, skipping stored days and reporting background progress.
Instructions
Download data from Garmin Connect into the local cache. Read tools already download missing data by themselves, so call this only when the user asks to sync/refresh or to pre-load a range, or when a tool returned meta.sync_hint (auto fetch turned off) and the user agreed; pass the hint's scope/from/to. Days already stored are skipped. Long ranges continue in the background: this waits at most 20 s and reports progress (also in garmin://sync-status).
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": "garmin_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date; default: today | |
| from | No | Start date; default: 7 days before `to` | |
| force | No | Re-download days that are already stored | |
| scope | No | all | activities | health (daily summary, sleep, HRV, weight) | training (status, readiness, VO2max) | reference (profile, gear, devices, activity types, workouts, calendar months of from..to, also in the future) | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes |