create_workout_template
Create and save a new routine to the user's Routines tab. Always call get_exercise_library first to get valid exercise IDs. The routine will immediately appear in the user's Mobela 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>",
"exercises": "<exercises>"
},
"name": "create_workout_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Routine name e.g. "Push Day A", "Upper Body Hypertrophy" | |
| tags | No | Tags e.g. ["push", "chest", "strength", "hypertrophy"] | |
| duration | No | Estimated workout duration in minutes | |
| exercises | Yes | List of exercises in the routine | |
| is_mobility | No | Set to true if this is a mobility/stretching routine |