delete_workout
Permanently delete a logged workout session with all its exercises and sets, or remove a saved workout template. Identify the session by ID, date, or workout name; irreversible and requires an exact match.
Instructions
undefined 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: call directly, no preliminary list for an ID. 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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "delete_workout"
}
}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 | Positive session ID returned by a workout tool. If unknown, omit it and use session_date + name; never guess. | |
| 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. |