Vary a workout
vary_workoutVariations of one library workout from our generator (no AI), as text, in its own format or another. Nothing is saved.
A shortfall says what blocked it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sex | No | Who trains, for the weights and machine doses: "men", "women", or "mixed" (a man and a woman together: each at their own; Hyrox stations at the mixed doubles race load). Omitted when the user did not say: every line reads both, men's/women's ("9/6 kg", "12/10 kcal"). Anything but men gets only workouts with a women's weight on every loaded line. Example: "women". | |
| name | Yes | The library workout's name or part of it, any case; several matches are an error listing them (up to 10) to ask again. Example: "Fran". | |
| count | No | How many variations, at most 5. Example: 3. | |
| format | No | Turn it into this format first: for_time, amrap, emom, intervals. About its minutes: an EMOM gives each line its own minute when a round is over 40 s, intervals rest as long as a round's work. Omitted keeps its own. Example: "emom". | |
| people | No | How many train together with one of each machine. Above 1, only workouts they can share come back: partner workouts (taking turns on a station), or EMOMs/intervals with a different machine on every line and at least one line per person (start apart, rotate). Example: 2. | |
| equipment | No | What the athletes have, as list_equipment keys or names ("echo-bike" or "echo", "row erg", "ski erg"), one item per entry. Say "1 dumbbell" or "1 kettlebell" when there is only one: movements needing a pair (farmers carry, dumbbell bench press) are left out. Other counts are ignored ("1 echo" is the echo bike): say how many train in people. Movements needing anything else (a bench press needs a bench) are left out; runs need "running" in the list. A name matching several keys or none is an error naming them. Example: ["1 dumbbell", "box", "ski-erg"]. Omitted is the kit the workout already uses. | |
| bodyweight | No | False also leaves out movements needing no equipment (burpees, runs), so only the listed equipment is used. Example: false. | |
| show_scores | No | True adds a line of scores under each workout: feasibility (0-100, can it be done as written), difficulty (0-100, the chance of not finishing inside the cap), and against the workout it was made from: stimulus (0-1, CrossFit's stimulus kept, with the levers changed), work (x the seed's), mix shift (how far the work moved between movement patterns), design (0-1) and, for Hyrox workouts, race fidelity (0-1). Example: false. | |
| temperature | No | 0 to 1, how far they stray from it (0.2 close, 1 far). Example: 0.5. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |