tp_update_library_item
Update an existing workout template in TrainingPeaks using its library and item IDs. Modify key details like name, description, duration, structure, or training stress score.
Instructions
Edit a workout template.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tss | No | ||
| name | No | ||
| athlete | No | Target athlete name or ID (coach accounts only). Omit to use your own profile. | |
| item_id | Yes | ||
| structure | No | ||
| library_id | Yes | ||
| description | No | ||
| duration_hours | No | ||
| workout_type_id | No | Sport/workout type: 1=swim, 2=bike, 3=run, etc. Sets the sport on templates saved without one. | |
| workout_sub_type_id | No |