update_workout_program
Edit a future workout program by adding, editing, removing, duplicating, or reordering days and moving occurrences, without changing an active session.
Instructions
Edit the future program, including add/edit/remove/duplicate/reorder days and move occurrences. Does not change an active session.
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": {
"program_id": "<program_id>",
"expected_revision": "<expected_revision>"
},
"name": "update_workout_program"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Complete ordered day list. A supplied days array replaces the previous list; retain IDs for existing days and moves. | |
| name | No | Program name | |
| program_id | Yes | User-owned resource ID returned by a read tool | |
| expected_revision | Yes | Current revision returned by the resource; prevents overwriting a newer edit |