Update workout template
update_workout_templateChange an existing routine (the exercises the user WILL do): rename it, edit notes, and change its exercises either by REPLACING the whole list (exercises, full list in order) or incrementally: add_exercises (optionally at a 1-based position), remove_exercises (names or ids), edit_exercises (change sets/reps/weight/rest/notes of exercises already in it). Use it to progress a program (e.g. squat 4 x 6 at 105 kg) or swap exercises around an injury. Planned days use templates: to plan a specific lifting day, create or update a template, then plan_workout with it. Confirm the changes with the user first.
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": {
"template": "<template>"
},
"name": "update_workout_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| notes | No | ||
| template | Yes | Template name or id (see get_workout_templates) | |
| exercises | No | ||
| add_exercises | No | ||
| edit_exercises | No | ||
| suggest_weights | No | Fill omitted weights of new exercises from the user's history (default true) | |
| remove_exercises | No | Exercise names (as in the template) or exercise ids to remove | |
| create_missing_exercises | No |