Hevy MCP

by chrisdoc
Verified

update-workout

Modify workout details such as title, description, start/end times, privacy settings, and exercise data. Provides the updated workout with all changes applied for accurate tracking.

Instructions

Update an existing workout by ID. You can modify the title, description, start/end times, privacy setting, and exercise data. Returns the updated workout with all changes applied.

Input Schema

NameRequiredDescriptionDefault
descriptionNo
endTimeYes
exercisesYes
isPrivateNo
startTimeYes
titleYes
workoutIdYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "description": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "string" } ] }, { "type": "null" } ] }, "endTime": { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$", "type": "string" }, "exercises": { "items": { "additionalProperties": false, "properties": { "exerciseTemplateId": { "minLength": 1, "type": "string" }, "notes": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "string" } ] }, { "type": "null" } ] }, "sets": { "items": { "additionalProperties": false, "properties": { "customMetric": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "number" } ] }, { "type": "null" } ] }, "distanceMeters": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "integer" } ] }, { "type": "null" } ] }, "durationSeconds": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "integer" } ] }, { "type": "null" } ] }, "reps": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "integer" } ] }, { "type": "null" } ] }, "rpe": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "number" } ] }, { "type": "null" } ] }, "type": { "default": "normal", "enum": [ "warmup", "normal", "failure", "dropset" ], "type": "string" }, "weightKg": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "number" } ] }, { "type": "null" } ] } }, "type": "object" }, "type": "array" }, "supersetId": { "type": [ "number", "null" ] } }, "required": [ "exerciseTemplateId", "sets" ], "type": "object" }, "type": "array" }, "isPrivate": { "default": false, "type": "boolean" }, "startTime": { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$", "type": "string" }, "title": { "minLength": 1, "type": "string" }, "workoutId": { "minLength": 1, "type": "string" } }, "required": [ "workoutId", "title", "startTime", "endTime", "exercises" ], "type": "object" }
ID: vl8qtbflvm