Download original activity file (FIT)
garmin_download_activity_fileDownload the original device-recorded activity file (usually a ZIP with the .FIT containing full GPS, heart rate, power and cadence samples) by Garmin activity ID when you need raw data.
Instructions
Download the original file recorded by the device for an activity, usually a ZIP containing the .FIT file with every sample (GPS track, heart rate, power, cadence…). When running locally with GARMIN_DOWNLOAD_DIR set, the file is saved there and the path is returned. Otherwise the file is returned inline as a base64 embedded resource, up to 3 MB. For summaries, splits or metrics, prefer garmin_get_activity: it is much smaller.
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": {
"activityId": "<activityId>"
},
"name": "garmin_download_activity_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activityId | Yes | Numeric Garmin activity ID, as returned in `activityId` by garmin_search_activities. |