create_workout
Create a workout template with exercises, sets, loads, rest modes, and optional supersets. Exercise names must be exact display names from the catalog or the user's custom exercises.
Each exercise: name, target (reps|time), load (weight|percent), working_rest_mode (timed|off|lap), working_rest_seconds (required when working_rest_mode is 'timed'; omit otherwise), optional warmup_sets[], optional warmup_rest_mode (required when warmup_sets is present; same allowed values as working_rest_mode), optional warmup_rest_seconds (required when warmup_rest_mode is 'timed'), working_sets[] (min 1), and an optional superset label. working_rest_mode 'off' means continue straight to the next set/exercise with no rest. 'lap' means the watch pauses until the user presses the lap button. The same rest setting applies between sets within the exercise and after the exercise's last set (the inter-exercise rest). Each set has reps (when target=reps) or seconds (when target=time), and weight (when load=weight) or percent (when load=percent), plus optional rpe. weight is in the user's units (0 = bodyweight). percent is the percentage of training max itself, e.g. 65 for 65%, not a computed weight. The server computes the weight from the user's training max, and the call fails with a clear error if the exercise has no training max set. superset is an optional short label (case-insensitive, max 16 chars). Exercises sharing a label run as one superset on the watch — at least two exercises must share a label, max 16 distinct labels per workout. Optional folder_id places the workout in an existing folder; optional new_folder_name creates a folder and places the workout in it. Pass at most one. new_folder_name fails when a folder already has that name, and the error gives that folder's folder_id. Optional warmup (workout) and wait_for_lap_after (per exercise) control the open warmup step at the start and the wait for a lap button press between exercises. Omitting them applies the user's workout settings; pass them only when the user asked for something different in this request. Steps the settings add count toward the 100 step limit; if they push the workout over it, the error says so and passing false to make it fit is allowed. The result reports what was applied.
Example with a two-exercise superset: {"name":"Push","exercises":[{"name":"Barbell Bench Press","target":"reps","load":"weight","working_rest_mode":"timed","working_rest_seconds":90,"working_sets":[{"reps":5,"weight":185}],"superset":"A"},{"name":"Cable Row","target":"reps","load":"weight","working_rest_mode":"lap","working_sets":[{"reps":8,"weight":80}],"superset":"A"}]}
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"exercises": "<exercises>"
},
"name": "create_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| warmup | No | Whether the workout starts with an open warmup step on the watch. Omit to apply the user's workout settings; pass it only when the user asked for something different in this request. Adds one step. | |
| exercises | Yes | Exercises in workout order. The workout must fit within 100 steps: each warmup or working set counts as one step, plus one for each timed or lap rest, one for the workout warmup and one for each wait for lap after an exercise. Off rests add no steps. | |
| folder_id | No | Optional folder_id of an existing folder to place the workout in, as the folder list gives it. Not together with new_folder_name. | |
| new_folder_name | No | Optional name of a new folder to create and place the workout in. Fails if a folder already has this name; pass that folder's folder_id instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| warmup | Yes | The workout starts with the open warmup step | |
| folder_id | No | ||
| set_count | Yes | ||
| workout_id | Yes | ||
| folder_name | No | ||
| exercise_count | Yes | ||
| folder_created | Yes | ||
| wait_for_lap_count | Yes | Exercises followed by a wait for the lap button |