uploadWorkout
write
Creates a workout from JSON (an object, an array or a JSON string). `buildWorkout` builds the JSON for you. A string is JSON-parsed (throws `GarminError` on invalid JSON or a non-object/array result).
uploadWorkout(workoutJson)| Parameter | Type | Optional | Description |
|---|---|---|---|
| workoutJson | string | object | unknown[] | no |
In Claude this is the upload_workout tool.