unschedule_workout
Remove a scheduled workout from one calendar date. This also removes it from the user's Garmin calendar. Only workouts scheduled for a single date can be removed; occurrences created by the weekly routine or a program are refused and can only be changed in the LiftTrack app. If a workout with that name stays on that date (from the weekly routine, a program, or a same named workout in another folder), the result reports what holds it in still_scheduled_by. The workout template itself is not changed.
Args: workout_name: Exact workout template name (case insensitive). date: YYYY-MM-DD of the scheduled occurrence, today or later. Past occurrences are kept as the user's training record. workout_folder_name: Optional folder name to disambiguate duplicate names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Calendar date as YYYY-MM-DD | |
| workout_name | Yes | The exact name of the workout template | |
| workout_folder_name | No | Folder that holds the workout, to disambiguate duplicate names. Use "My Workouts" for a workout not in any folder. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| workout_name | Yes | ||
| removed_count | Yes | ||
| still_scheduled_by | No |