update_workout_plan
Edit an existing workout plan (confirm-gated). Pass planId plus only the fields to change. exercises, if given, REPLACES the whole exercise list — send the full intended list, not just the changed ones; to change a single slot use swap_workout_exercise instead. Each exercise follows the same shape as create_workout_plan (name, sets, reps, restSeconds?, section?, exerciseId?, notes?, modality?, …). days: optional [MONDAY..SUNDAY].
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": {
"planId": "<planId>"
},
"name": "update_workout_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| title | No | ||
| planId | Yes | ||
| confirm | No | Must be true to actually execute. If false/omitted, returns a preview only. | |
| endDate | No | ||
| exercises | No | ||
| startDate | No | YYYY-MM-DD | |
| description | No |