Update workout
update_workoutUpdates an existing workout. Use when the user wants to change workout name, description, difficulty, visibility, or exercise structure. When only partial fields are provided (e.g. name), the current workout data is fetched and merged automatically.
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": "update_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| team_id | No | ||
| instances | No | ||
| difficulty | No | ||
| visibility | No | ||
| workout_id | Yes | ||
| description | No | ||
| category_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _viewType | Yes |