Add exercise to workout
add_exercise_to_workoutAdd a catalog exercise to an existing workout.
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": {
"exercise_id": "<exercise_id>",
"workout_id": "<workout_id>"
},
"name": "add_exercise_to_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reps | No | Optional override for strength exercises. Omit to use the exercise default reps. | |
| sets | No | Optional override. Omit to use the exercise default set count. | |
| notes | No | Optional coaching or effort guidance for this exercise. | |
| position | No | 0-based position in the exercise list; omitted → appended at the end | |
| weight_kg | No | Optional override in kilograms. Omit to use the exercise default weight. | |
| workout_id | Yes | Workout id from list_workouts | |
| exercise_id | Yes | Catalog exercise id, e.g. "barbell-bench-press" | |
| duration_seconds | No | Optional override for cardio/stretching in seconds. Omit to use the exercise default duration. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| totals | Yes | ||
| archived | No | ||
| workouts | Yes | ||
| exercises | Yes | ||
| created_at | Yes | ||
| updated_at | Yes | ||
| workout_id | Yes | ||
| generated_at | Yes | ||
| scheduled_day | No | ||
| weight_unit_preference | Yes |