Icu Delete Workout Folder
icu_delete_workout_folderPermanently delete a workout library folder or training plan along with every workout it contains. Irreversible; in safe mode, non-empty folders are refused. Calendar events already scheduled remain.
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.
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": {
"folder_id": "<folder_id>"
},
"name": "icu_delete_workout_folder"
}
}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 |