update_workout
Replace an existing Garmin workout with a new specification, overwriting the whole workout. Confirm first, ideally after previewing.
Instructions
Replace an existing workout with a new spec. This OVERWRITES the whole workout; confirm with the user first, ideally after preview_workout. Paces are minutes as decimals (4:30 = 4.5), distances metres, times seconds.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workoutId": "<workoutId>",
"spec": "<spec>"
},
"name": "update_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | A Garmin workout. Give `steps` for one sport, or `legs` (each with its own sport) for a multi-sport workout, not both. Distances are metres, times seconds. | |
| workoutId | Yes | From get_workouts or create_workout |