undo_workout
Remove a scheduled workout or applied training week from an athlete's Garmin calendar when it should not be there, while leaving the original workout in their library for later reuse.
Instructions
Take a session (or a whole applied week) back OFF the athlete's Garmin calendar. The counterpart of apply_workout: use it when the athlete says the session should not be there after all, or after trying the write path out. It unschedules - the workout stays in their Garmin library, so applying the same proposal again puts it back on a day without building or uploading anything a second time. Only sessions this app uploaded and scheduled are touched; a calendar entry that has changed hands since is left alone and reported. Like apply_workout it needs the athlete's explicit yes, and it is not available to the app's own card runs.
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": {
"proposal_id": "<proposal_id>"
},
"name": "undo_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proposal_id | Yes | The id of a proposal that was applied. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |