tp_upload_workout_file
Attach a workout file (FIT, TCX, GPX) to an existing workout by specifying the workout ID. Provide the file as a path or base64-encoded data.
Instructions
Upload a workout file (.fit, .tcx, .gpx) to an existing workout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| athlete | No | Target athlete name or ID (coach accounts only). Omit to use your own profile. | |
| file_path | No | Path to file on disk | |
| workout_id | Yes | Workout ID | |
| workout_day | No | YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS. Auto-fetched if omitted. | |
| file_data_base64 | No | Base64-encoded file bytes |