create_strength_workout
Creates a strength workout and uploads it to Garmin Connect, specifying exercises with sets, reps, rest, and optional category.
Instructions
Create a strength workout and upload it to Garmin Connect.
Each exercise becomes a reps-based step; when sets > 1 the exercise is emitted as a repeat group of that many iterations (work + rest per set), so Garmin shows the real set count. The name is kept in the step description; it is also sent as exerciseName, which Garmin only retains when it matches one of its own exercise keys (e.g. "FARMERS_CARRY").
Args: name: Workout name exercises: List of dicts with keys: name, sets, reps, rest_seconds and an optional category. Category is omitted from the payload when not given; Garmin accepts that. When given it must be one of Garmin's exercise categories (e.g. SQUAT, DEADLIFT, PUSH_UP, CARRY, SLED) — anything else, including "UNASSIGNED" and "OTHER", is rejected with 400 Invalid category. Full list: https://connect.garmin.com/web-data/exercises/Exercises.json
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| exercises | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |