Update library item
tp_update_library_itemEdit a workout template in TrainingPeaks by library and item ID, modifying details like name, description, duration, TSS, structure, or type.
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 |