swap_plan_exercise
Replace an exercise on a training plan day and keep existing targets unless sets or reps are specified; preview the change and apply only after approval.
Instructions
Replace one exercise on a day of the training plan with another, keeping its targets unless sets/reps are given.
Example: day="Day 2", exercise="Overhead Triceps Extensions", new_exercise="Dips", sets=3, reps=8. Returns a preview; nothing is saved unless apply=true (only after the user approved the preview).
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": {
"day": "<day>",
"exercise": "<exercise>",
"new_exercise": "<new_exercise>"
},
"name": "swap_plan_exercise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | Yes | ||
| plan | No | ||
| reps | No | ||
| sets | No | ||
| apply | No | ||
| exercise | Yes | ||
| new_exercise | Yes |