Create Workout
create_workoutBuild structured Coros workouts with step and interval targets, then sync them to the watch for guided execution.
Instructions
Create a new structured workout in the Coros account.
The workout appears in the Coros app under Workouts and can be synced to the watch for guided execution.
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>",
"steps": "<steps>"
},
"name": "create_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Workout name (e.g. "Z2 Erholung 60min"). | |
| steps | Yes | List of workout steps. Each step is either a plain step or a repeat group. Plain step: - name (str): step label, e.g. "10:00 Einfahren" - duration_minutes (float): step duration in minutes - power_low_w (int): lower power target in watts - power_high_w (int): upper power target in watts Repeat group (for intervals): - repeat (int): number of repetitions - steps (list[dict]): sub-steps (same format as plain steps) Example: [ {"name": "Warm-up", "duration_minutes": 10, "power_low_w": 148, "power_high_w": 192}, {"repeat": 3, "steps": [ {"name": "Sweetspot", "duration_minutes": 10, "power_low_w": 265, "power_high_w": 285}, {"name": "Recovery", "duration_minutes": 3, "power_low_w": 150, "power_high_w": 175}, ]}, {"name": "Cool-down", "duration_minutes": 10, "power_low_w": 100, "power_high_w": 165}, ] | |
| sport_type | No | Sport type ID. Default 2 = Indoor Cycling (Rollen). Use 200 for Road Bike (outdoor), 201 for Indoor Cycling (alt). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||