download_fit_file
Download any activity as a FIT file, compatible with Garmin and most training platforms.
Instructions
Download activity as a FIT file.
Converts and downloads the activity as a FIT (Flexible and Interoperable Data Transfer) file, which is compatible with Garmin and most training platforms.
Args: activity_id: The unique ID of the activity output_path: Optional path to save the file (e.g., "/path/to/activity.fit")
Returns: JSON string with file info and base64-encoded content (if no output_path)
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>"
},
"name": "download_fit_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes | Activity ID to download | |
| output_path | No | Path to save the FIT file (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |