Update Workout Template
update_workout_templateModify a template's name, duration, or exercises in place, keeping history and periodization links. Send the full exercise list to edit; omit it to change only name or duration.
Instructions
Edits an existing workout template in place - its name, estimated duration, and/or its exercises - keeping the template itself, so its link to past workouts in history (and to any periodization cycle) survives. This is the tool for requests like "swap the first three exercises of my chest day for cable variations" or "add a set to every exercise". IMPORTANT: exercises REPLACES the entire exercise list, so call get_workout_templates first and send the full list back with your changes applied; omit exercises to change only the name/duration. Prefer this over delete_workout_template + save_workout_template.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New template name, if renaming | |
| template | Yes | Template to edit, by name (fuzzy-matched) or id, e.g. "Push Day A" | |
| exercises | No | If provided, REPLACES this template's entire ordered exercise list (every existing slot is deleted first). Read the current list with get_workout_templates and send it back with your edits applied, or any slot you leave out is removed. Omit to leave the exercises untouched. | |
| estimatedDurationMinutes | No | Replacement estimated session length in minutes |