Update saved workout
update_custom_workoutChanges one of the user's own saved workouts ("My workouts" in the app) — rename it, change its note, or replace its exercise list — the same as editing it in the app. Every scheduled session that uses this workout shows the change too, including upcoming ones; the response says how many. Library workouts cannot be changed: to make a personal version, save one with create_custom_workout. Pass only the fields you want to change; anything omitted stays as-is. exercises, if given, replaces the whole list — to add an exercise, pass the existing ones plus the new one in the right position; to remove one, pass the list without it. ALWAYS read the current list with get_workout_details first and send it back with your change — never rebuild it from memory, or the exercises, sets and weights you leave out are lost. Confirm the change with the user before calling. Each exercise is measured by its own exercise_type — send the targets that type accepts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | New note for the whole workout. Send an empty string to clear it; omit to keep the current one. | |
| title | No | New workout name. Omit to keep the current one. | |
| exercises | No | Replaces the ENTIRE exercise list — send every exercise the workout should keep (as read with get_workout_details), not only the changed ones. Omit to keep the current exercises. | |
| workout_id | Yes | The saved workout — from list_workouts (type custom), create_custom_workout or get_workout_details. Never invented. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Total workouts matching the filter, which can exceed the returned list — narrow with query or type if it does. | |
| locale | Yes | ||
| warnings | No | ||
| workouts | Yes | ||
| total_sets | Yes | ||
| workout_id | Yes | The saved workout — pass it to create_planned_workout to schedule it. | |
| display_warnings | No | ||
| upcoming_sessions | Yes | How many upcoming scheduled sessions use this workout — they show any change made to it. |