Move an exercise's history
trainrec_move_exerciseMoves every set logged or planned under one exercise to another, in all their workouts and routines, when it was logged under the wrong one: a plate-loaded hack squat logged as Hack Squat (Machine), a dumbbell press logged as the barbell one. Both must log the same things (weight and reps, say). The sets are not changed. baseWeight, in the person's unit, sets what the new exercise's sled or bar weighs empty (plate-loaded and Smith only). One step to undo in the app.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "trainrec_move_exercise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Exercise id to move them to. | |
| from | Yes | Exercise id the sets are under now (list_exercises). | |
| baseWeight | No | The new exercise's sled or bar, empty, in the person's unit. |