hevy_update_workout
Overwrite a workout with a full replacement. All fields must be resent; omitted fields are deleted. Requires exercise_template_id for each exercise.
Instructions
Full replace of a workout (PUT /v1/workouts/{id}). Any field not re-sent is dropped — to preserve a field, send it back unchanged. Each exercise needs an exercise_template_id (find via hevy_list_exercise_templates or hevy_get_exercise_template). Dry-run by default: returns { dry_run: true, executed: false, ... } unless HEVY_MCP_ALLOW_WRITES=1 is set on the server process. No DELETE endpoint exists on the Hevy API.
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": {
"workoutId": "<workoutId>",
"workout": "<workout>"
},
"name": "hevy_update_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workout | Yes | ||
| workoutId | Yes |