Skip to content
Docs menu

Back to all methods

updateWorkout

write

Replaces a stored workout with new JSON (a full replace, not a merge). Full-replace PUT; forces `workoutId` into the body to match the path id; unlike `uploadWorkout`, a string must resolve to an object, not an array.

updateWorkout(workoutId, workoutJson)
ParameterTypeOptionalDescription
workoutIdnumber | stringnoNumeric id
workoutJsonstring | objectno

In Claude this is the update_workout tool.

Guide: workouts