Skip to content
Docs menu

Back to all methods

pushWorkoutToDevice

write

Sends a workout to a device. Defaults to the newest workout and the most recently used device. Multi-call: resolves a missing `deviceId` via `/device-service/deviceservice/mylastused`'s `userDeviceId`, a missing `workoutId` via `getWorkouts(0,1)`'s first result (throws if none), then reads `getWorkoutById(workoutId).workoutName` for the push message on the final POST.

pushWorkoutToDevice(workoutId?, deviceId?)
ParameterTypeOptionalDescription
workoutIdnumber | stringyesNumeric id
deviceIdnumber | stringyesNumeric id

In Claude this is the push_workout_to_device tool.

Guide: workouts