update-workout
Update an existing workout by ID, modifying title, description, times, privacy, and exercises. Returns the updated workout with all changes applied.
Instructions
Update an existing workout by ID. You can modify the title, description, start/end times, privacy setting, and exercise data. Returns the updated workout with all changes applied.
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": {
"workoutId": "<workoutId>",
"title": "<title>",
"startTime": "<startTime>",
"endTime": "<endTime>"
},
"name": "update-workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| endTime | Yes | ||
| exercises | No | ||
| isPrivate | No | ||
| startTime | Yes | ||
| workoutId | Yes | ||
| description | No |