create_workout
Schedule a workout for a specified time within the next 6 days, optionally attaching a plan or route to sync with the Wahoo ELEMNT app.
Instructions
Schedule a new workout and optionally attach a plan to it. A plan must be attached to a workout scheduled within the current day through 6 days from now to appear in the Wahoo ELEMNT app.
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>",
"workout_token": "<workout_token>",
"workout_type_id": "<workout_type_id>",
"starts": "<starts>",
"minutes": "<minutes>"
},
"name": "create_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Workout name | |
| starts | Yes | ISO 8601 datetime for when the workout starts. Must be within the current day through 6 days from now for the plan to appear in the ELEMNT app. | |
| minutes | Yes | Workout duration in minutes | |
| plan_id | No | ID of a previously created plan to attach to this workout | |
| route_id | No | ID of a route to attach to this workout | |
| workout_token | Yes | Unique app-side identifier for this workout (e.g. a UUID or slug) | |
| workout_type_id | Yes | Workout type ID (e.g. 0 for biking outdoor, 12 for indoor biking, 1 for running) |