update_workout_plan
Edit an existing workout plan (confirm-gated). Pass planId plus only the fields to change. exercises, if given, REPLACES the whole exercise list — send the full intended list, not just the changed ones; to change a single slot use swap_workout_exercise instead. Each exercise follows the same shape as create_workout_plan (name, sets, reps, restSeconds?, section?, exerciseId?, notes?, modality?, …). days: optional [MONDAY..SUNDAY].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| title | No | ||
| planId | Yes | ||
| confirm | No | Must be true to actually execute. If false/omitted, returns a preview only. | |
| endDate | No | ||
| exercises | No | ||
| startDate | No | YYYY-MM-DD | |
| description | No |