push_workout_to_device
Push a workout to a Garmin device. Missing IDs are resolved automatically using the default workout and last-used device.
Instructions
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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "push_workout_to_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | No | Numeric id | |
| workoutId | No | Numeric id |