Download activity file
garmin_download_activityDownload an activity's original file as activity-<activity_id>.zip to your machine and get the saved path, size and contents. Use it to keep the raw .fit data locally.
Instructions
Download an activity's original file (a ZIP, usually holding a .fit) and save it on the machine running this server as activity-<activity_id>.zip, replacing any earlier download. Returns the saved path, size, and the files inside.
activity_id: activityId from garmin_search_activities. directory: a subfolder of the download folder to save in, e.g. "races" (default: the download folder itself). The download folder is GARMIN_MCP_DOWNLOAD_DIR, else a garmin folder in the Downloads directory; paths that lead outside it are rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | ||
| activity_id | Yes |