swap_workout_exercise
Replace a single exercise in a workout plan by its order (confirm-gated) — the surgical alternative to update_workout_plan. exerciseOrder is the order of the slot to replace (see list_workout_plans). newExercise is one exercise in the create_workout_plan shape; carry over exerciseId from search_exercises when there's a catalog match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| planId | Yes | ||
| confirm | No | Must be true to actually execute. If false/omitted, returns a preview only. | |
| newExercise | Yes | ||
| exerciseOrder | Yes |