save_plan
Create a personalized EGYM training plan or replace an existing one, defining exercise order and sets with reps, weights, rest, and duration.
Instructions
Creates an own training plan in the EGYM app or replaces an existing one (plan_id).
exercises: list in training order, each {"activityId": , "sets": [...]}. Every set is its own entry, with the fields: numberOfReps (int), weight (kg, per dumbbell for two dumbbells; required for strength exercises unless body-weight based), recoveryTime (rest in s), duration (s, for timed sets such as cardio or stretching), optionally distance (m), speed, incline, heartRate, sideMode ('BOTH'|'LEFT'|'RIGHT'), trainingMethod (EGYM machines), setType (added if missing). Example: {"activityId": 95, "sets": [{"numberOfReps": 8, "weight": 22, "recoveryTime": 120}]} Replacing overwrites the whole plan; only replace plans the user has agreed to change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| plan_id | No | ||
| exercises | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |