Save routine
save_routineSave a routine, a workout to do again, when the person asks for one or for a programme, one routine for each kind of training day; a suggestion alone is not a request. Find every exercise with list_exercises first. Leave a set's figures out so it follows what the person did last time, and give figures only for targets the routine should keep. A routine has no day: to put a session on a day, plan it with create_workout. With id this replaces the whole routine, so read it with list_routines and pass everything it should keep. Confirm only after success.
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": {
"title": "<title>",
"exercises": "<exercises>"
},
"name": "save_routine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Only to replace one of the person's routines, as list_routines returned it; leave out for a new one | |
| note | No | Guidance to train by, shown whenever the routine is started | |
| title | Yes | What the routine is called, such as Push day; the workouts done with it take the same name | |
| exercises | Yes | The exercises in the order they are done | |
| supersets | No | Names and rests for supersets; one an exercise points at without listing it here is made with neither |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| kind | Yes | ||
| note | Yes | ||
| title | Yes | ||
| exercises | Yes | ||
| supersets | Yes |