Adapt workout
adapt_workoutAdapts an existing workout for a user profile. Use when the user wants to customize a workout (duration, difficulty, equipment) without generating from scratch.
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": {
"workout_id": "<workout_id>"
},
"name": "adapt_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | ||
| team_id | No | ||
| workout_id | Yes | ||
| duration_max | No | ||
| duration_min | No | ||
| end_user_age | No | ||
| end_user_gender | No | ||
| user_requirements | No | ||
| end_user_fitness_levels | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _viewType | Yes |