Download workout file
tp_download_workout_fileDownload a workout file from TrainingPeaks by specifying its file ID and workout ID. Save it to a chosen directory or full path for local access.
Instructions
Download a workout file by file_id. Get file_id from tp_get_workout device_files/attachment_files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| athlete | No | Target athlete name or ID (coach accounts only). Omit to use your own profile. | |
| file_id | Yes | File ID from tp_get_workout | |
| workout_id | Yes | Workout ID | |
| output_path | No | Directory or full path to save file |