Create Workout
create_workoutFull Description
Creates a new workout for the user based on preferences. Use this first, ask for the input from the user before you call this. Randomize if they user insists not to give params. If the user doesn't like the provided workout, you can offer to retry with different inputs.
Parameters (6 required, 1 optional)
availableEquipmentarrayList of equipment available to the user
difficultystringDifficulty level (BEGINNER, INTERMEDIATE, ADVANCED)
ADVANCEDBEGINNERINTERMEDIATEgoalstringWorkout goal (BUILD_MUSCLE, GET_LEAN, IMPROVE_MOBILITY, OVERALL_HEALTH)
BUILD_MUSCLEGET_LEANIMPROVE_MOBILITYOVERALL_HEALTHmuscleGroupsarrayArray of target muscle groups
timestringWorkout duration (e.g., FIVE, TEN, FIFTEEN, TWENTY, THIRTY, FORTY_FIVE, SIXTY)
FIFTEENFIVEFORTY_FIVESIXTYTENTHIRTYTWENTYtypestringWorkout type (e.g., PURE_STRENGTH, CIRCUIT_STRENGTH, MUSCLE_ENDURANCE, HIGH_VOLUME_TRAINING, MOBILITY, BALANCE, HIIT, PILATES, RECOVERY, YOGA)
BALANCECIRCUIT_STRENGTHHIGH_VOLUME_TRAININGHIITMOBILITYMUSCLE_ENDURANCEPILATESPURE_STRENGTHRECOVERYYOGAgenderstringUser gender (optional)
FEMALEMALENON_BINARYPREFER_NOT_TO_SAY