Trigger a Garmin sync
garmlink_sync_refreshTriggers an on-demand sync that fetches the freshest data from the user's Garmin account (it contacts Garmin; the only tool that does). Rate-limited to at most once per 15 minutes; if a sync ran recently it returns status:rate_limited with retry_after_s. Non-destructive — it only fetches and appends new data, never deletes anything. Returns {status:'started'} on success; {status:'queued', queued:true, resume_at, message} when the sync service has no free slot or Garmin asked it to pause: the request is kept and starts by itself as soon as a slot frees up (usually within a few minutes), or at resume_at (ISO) during a pause, and is not counted against the limit; {status:'already_running'} when a sync is already in progress. On success it also returns whatever the worker echoed back — sync_run_id is present only when the worker supplies it; garmlink_sync_status reports the sync's progress either way. Requires a connected account; returns {error:'not_connected'} otherwise. On the demo account there is nothing to fetch: it returns {status:'demo', message} and starts no sync. When the sync service cannot be reached it returns {error:'worker_unavailable', detail}.
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": "garmlink_sync_refresh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||