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)| Parameter | Type | Optional | Description |
|---|---|---|---|
| workoutId | number | string | no | Numeric id |
| workoutJson | string | object | no |
In Claude this is the update_workout tool.