delete_workout
Saved workout operations
routing: new performed session -> in-app chat propose_workout (review card; Save logs), external MCP and native voice log_workout. Correct a stored session -> update_workout, never another log. Delete a whole session -> delete_workout, never an update. Future workouts -> in-app proposal tools; external clients without cards may use log_workout(save_as_saved_workout=true) for a reusable template. saved_workout_id selects a template, never a completed session.
resolve: known session ID, or an unambiguous date/name. Ambiguous sessions, sets or superset slots need exact identification. Never invent IDs. Validate every part of an update before writing; preserve everything outside the target.
remove one set/exercise -> targeted update; whole session only when requested. Deletions are irreversible. Confirm only persisted changes; after a partial/uncertain write, read back before any retry.
Permanently delete a workout session with all its supersets, exercises and sets. use: the user wants a logged workout removed entirely.
FIND THE SESSION: call directly, no preliminary list for an ID. session_id if known; else session_date (default today); add name only when several sessions share that day. Irreversible: not exactly one match -> errors with the reason, deletes nothing; retry with session_id or a narrower name, never guess.
SAVED WORKOUTS: saved_workout_id deletes a reusable Saved Workout instead of completed 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 | Case-insensitive substring of the focus/type (e.g. "Push", "Leg Day") to pick between sessions on session_date. Only without session_id. | |
| session_id | No | Positive session ID from a workout tool. Unknown -> omit and use session_date + name; never guess. | |
| session_date | No | YYYY-MM-DD; default today. Finds the session when session_id is omitted. | |
| saved_workout_id | No | Saved Workout ID to delete; completed workout history is untouched. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Human-readable result text returned by the tool. |