delete_workout
Permanently delete a workout session and all its exercises and sets. Specify a session ID or date plus workout name to remove the logged workout.
Instructions
Permanently delete a workout session and all its exercises and sets. Use when the user wants to remove a logged workout entirely.
FIND THE SESSION: pass session_id if already known. Otherwise pass session_date (YYYY-MM-DD, defaults to today) and, only if more than one session was logged that day, name (a substring of the workout's focus/type, e.g. "Push" or "Leg Day", case-insensitive) to narrow it down. This action is irreversible and removes the session, all supersets, and all sets — a match that isn't exactly one session returns an error explaining why, with nothing deleted; retry with session_id or a narrower name, never guess.
SAVED WORKOUTS: pass saved_workout_id to delete a reusable Saved Workout instead of completed workout history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Substring of the workout's focus/type (e.g. "Push", "Leg Day"), case-insensitive, to disambiguate multiple sessions on the same date. Only used when session_id is omitted. | |
| session_id | No | Session ID, if already known. Alternative to session_date + name — see FIND THE SESSION above. | |
| session_date | No | Date the session was logged. Format: YYYY-MM-DD. Used with name to find the session when session_id is omitted; defaults to today if both are omitted. | |
| saved_workout_id | No | Saved Workout ID to delete. When present, deletes the reusable prescription and does not touch completed workout history. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Human-readable result text returned by the tool. |