delete_workout
Delete a single workout from Garmin Connect using a two-step preview and confirmation process to ensure irreversible removal.
Instructions
Delete ONE workout from your Garmin Connect library (a WRITE, irreversible).
Preview-then-confirm: call without a token first — that call deletes
nothing and returns the workout's name plus a confirmation_token.
Review the name, then call again with the token to actually delete.
Deleting from the library also removes the workout from the watch on its
next sync. There is no bulk delete; confirm each workout individually.
Args:
workout_id: id from list_workouts.
confirmation_token: token from the preview call for this same id.
confirm: dev/stdio only (no JWT secret) — set True to confirm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| workout_id | Yes | ||
| confirmation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| status | Yes | ||
| deleted | Yes | False on the preview call; True once actually deleted. | |
| workout_id | Yes | ||
| confirmation_token | No | On a preview call: pass this back to delete_workout to confirm. |