Save a routine
trainrec_save_routineCreates a routine (a reusable workout plan the person starts from the app), or replaces one given its id and version. Same shape as a workout, without a day.
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": "trainrec_save_routine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | Yes | ||
| unit | No | Unit for every weight in this call. Defaults to the person's own unit. | |
| notes | No | ||
| summary | No | ||
| version | No | ||
| exercises | Yes | In the order performed, by exercise id (built-in or custom). |