schedule_update_workout
Edit exercises in a scheduled workout by removing, swapping, adding, or adjusting sets. Runs as a dry-run preview until you confirm the changes.
Instructions
Edit the exercises inside a scheduled workout (dry-run unless confirmed).
This is the low-level session editor. Each entry uses the app's own shape:
removed: {sectionIndex, exerciseIndex}; swapped: {sectionIndex,
exerciseIndex, exerciseId}; edits: {sectionIndex, exerciseIndex,
exerciseId, sets[]}; added: {sectionIndex, exerciseId}. Sets use
{setIndex, setType, inputOne, inputTwo}.
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": {
"scheduled_workout_id": "<scheduled_workout_id>"
},
"name": "schedule_update_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | kg | |
| added | No | ||
| edits | No | ||
| confirm | No | ||
| removed | No | ||
| swapped | No | ||
| scheduled_workout_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||