Update routine
update-routineUpdate an existing workout routine by providing its ID, a new title, and a list of exercises with sets, rest, and notes.
Instructions
Update an existing routine by ID. The full routine is overwritten.
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": {
"routineId": "<routineId>",
"title": "<title>",
"exercises": "<exercises>"
},
"name": "update-routine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Additional notes for the routine; null clears them | |
| title | Yes | The title of the routine | |
| exercises | Yes | The exercises in the routine | |
| routineId | Yes | The ID of the routine to update |