archive_workout_program
Archive a saved workout program to retain historical sessions, using the program ID and expected revision to prevent overwriting newer edits.
Instructions
Archive a saved program; retain historical sessions.
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": "archive_workout_program"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |