Generate new workouts
generate_workoutsNew workouts from our generator (no AI), as text: built from patterns counted in thousands of real workouts, for a training style, minutes, kit and who trains. Nothing is saved; other ones each call.
Example, two people with an echo bike, rower and ski erg, 40-60 min:
generate_workouts(count=5, people=2, partner=True, minutes_min=40,
minutes_max=60, equipment=["echo-bike", "row-ergometer", "ski-erg"])
A shortfall says what blocked it.Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_workouts"
}
}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". | |
| count | No | How many workouts, at most 5. Example: 3. | |
| level | No | Level 1 to 3, 3 the toughest. 1 scaled: dumbbells, kettlebells and sandbags a size lighter, barbells 0.7x Rx, easier skills (ring rows for pull-ups). 2 Rx and Hyrox Open. 3: a size heavier, barbells 1.25x Rx, Hyrox Pro, harder skills (chest-to-bar for pull-ups, legless rope climbs). Words in intent such as "pro", "open", "rx" or "scaled" set it too; 2 when none. Example: 3. | |
| style | No | Only this training style: running, hyrox, hybrid or crossfit. Any when omitted. Example: "hyrox". | |
| format | No | Only this format: for_time, amrap, emom, intervals. Any when omitted. Example: "amrap". | |
| intent | No | What the workout is for, in words: an intent (recovery, aerobic, long, threshold, vo2max, speed, test, compromised, strength-endurance, technique, partner) or a workout type ("fartlek", "tempo", "hero wod"). Several words keep what they share. Any when omitted. Example: "recovery". | |
| 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), workouts on no machine (side by side), or EMOMs/intervals with a different machine on every line and at least one line per person (start apart, rotate). Example: 2. | |
| region | No | Only this body region: "lower" (legs, hips, cardio), "upper" (push, pull, core, ski and row) or "core" (core, cardio). Words in intent such as "leg workout", "upper body" or "core" set it too. Example: "lower". | |
| rounds | No | Exactly this many rounds: a for-time or interval workout repeated that often, an EMOM that many turns through its stations; never an AMRAP or a workout in parts. Words in intent such as "5 rounds" set it too. Example: 5. | |
| exclude | No | Movement slugs or names (from find_movements) every workout must leave out. Example: ["burpees"]. | |
| include | No | Movement slugs or names (from find_movements) every workout must hold; fewer come back the more are named. Example: ["wallballs"]. | |
| partner | No | True: only partner workouts (two people share the work). False: none. Omitted: either when people is above 1, else none. Example: true. | |
| zone_max | No | Every zone the work names at most this, 1-5. Example: 4. | |
| zone_min | No | Every zone the work names at least this, 1-5; a workout naming no zone is left out. Words in intent such as "zones 2-4" set it too. 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 a full gym. | |
| bodyweight | No | False also leaves out movements needing no equipment (burpees, runs), so only the listed equipment is used. Example: false. | |
| cap_minutes | No | A time cap the workout must fit, in whole minutes: no printed cap passes it. Words in intent such as "time cap 30" set it too. Example: 30. | |
| minutes_max | No | Longest estimated workout length, in minutes. Example: 25. | |
| minutes_min | No | Shortest estimated workout length, in minutes. Example: 10. | |
| show_scores | No | True adds a line of scores under each workout: can do it (%, the share of gym-goers who finish it as written), hard (0-100, how close the median gym-goer gets to their limit) and load (minutes x effort), 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). Off unless asked. Example: true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |