sync_coros_data
Sync Coros fitness data for a specified date range into a local SQLite cache, so subsequent metrics, sleep, and activity queries are served from cache and only fetch incremental API updates.
Instructions
Sync Coros data for a date range into the local SQLite cache.
After the first full sync, subsequent calls to get_daily_metrics, get_sleep_data, and list_activities will serve historical data from cache and only fetch the incremental tail from the API.
For large date ranges (> 6 months), call this tool in segments to avoid timeout (e.g. one segment per year). For the initial full historical backfill, use the CLI instead: coros-mcp sync --from 20230101
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_day | No | End of sync range in YYYYMMDD format — local calendar date (same convention as start_day). Defaults to today if omitted. | |
| start_day | No | Start of sync range in YYYYMMDD format — local calendar date (per COROS_TIMEZONE, defaults to system timezone). Defaults to two years ago if omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||