Download Activity File
garmin_download_activity_fileDownload a Garmin Connect activity's original ZIP file to a local path using its activity ID, with optional overwrite. Use it to archive or process FIT/GPX/TCX data offline.
Instructions
Download an activity's original file from Garmin as a ZIP and save it to disk.
Garmin serves these as a ZIP archive containing the FIT file (and sometimes GPX/TCX). The ZIP is written to output_path and the tool reports the path and size; the file contents are not returned to the model.
Use garmin_search_activities to find activity IDs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"activity_id": "<activity_id>",
"output_path": "<output_path>"
},
"name": "garmin_download_activity_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overwrite | No | Replace output_path if a file is already there | |
| activity_id | Yes | Garmin activity ID, e.g. 123456789 | |
| output_path | Yes | Absolute path to write the ZIP to, e.g. '/Users/me/Downloads/run.zip' |