icu_delete_workout_folder
Permanently delete a workout library folder or training plan and all workouts inside; in safe mode, non-empty folders are refused.
Instructions
Permanently delete ONE library folder or training plan AND every workout in it.
Destructive — cannot be undone. Calendar events already applied from a plan
stay on the calendar (delete those with icu_delete_event); to remove a single
library workout use icu_delete_workout. In safe delete mode (default), a
folder that still holds workouts is refused and reported in the skipped
envelope. Confirm with the user before calling if unsure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | Yes | Library folder or plan ID to delete (from icu_get_workout_library) | |
| athlete_id | No | Athlete ID (for coaches managing multiple athletes) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |