mywhoosh_create_workout
Create a custom MyWhoosh cycling workout from ordered blocks using %FTP power, cadence targets, repeats, and optional ERG mode to build structured training sessions.
Instructions
Create a custom cycling workout in MyWhoosh.
blocks are executed in order. Power in % FTP (e.g. 90 = 90% FTP). erg_mode=True: trainer holds the target power (ERG). False: rider controls resistance. ftp_watts is optional and only used to compute kJ. Text (name, description, messages) is transliterated to ASCII (ö->oe, ß->ss, – -> -), because MyWhoosh drops all non-ASCII characters.
Example blocks: {"type":"warmup","duration_s":600,"start_power":50,"end_power":75} {"type":"interval","duration_s":240,"power":105,"repeat":4,"rest_duration_s":180,"rest_power":55} {"type":"steady","duration_s":1200,"power":70,"cadence":90} {"type":"cooldown","duration_s":300,"start_power":65,"end_power":45}
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"blocks": "<blocks>"
},
"name": "mywhoosh_create_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| blocks | Yes | ||
| erg_mode | No | ||
| ftp_watts | No | ||
| description | No |