update_workout
Replace an existing workout by ID with a complete new workout body. Provide the full workout details to overwrite the previous record, ensuring accurate updates.
Instructions
Replace an existing workout by ID. The full workout body must be supplied — this is a full replacement, not a patch.
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>",
"workout": "<workout>"
},
"name": "update_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workout | Yes | ||
| workoutId | Yes |