set_training_max
Set the training max for an exercise (creates it, or updates an existing one). The training max is the estimated one rep max that workouts compute weights from when an exercise uses percentage of training max.
Args: exercise_name: Exact exercise display name from search_exercises. training_max: The training max value, in the user's units (lb or kg per their settings).
Updating an existing training max recalculates the weight of every workout where the exercise uses percentage of training max. Confirm with the user before changing an existing one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| training_max | Yes | Training max in the user's units (lb or kg per their settings) | |
| exercise_name | Yes | Exact exercise display name from search_exercises |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | Yes | ||
| outcome | Yes | ||
| previous | No | ||
| training_max | Yes | ||
| exercise_display_name | Yes |