update_routine
Replace an existing workout routine by ID with updated title, notes, and exercises. Modify routine details directly without creating a duplicate.
Instructions
Replace an existing routine by ID. Note: the API does NOT accept folder_id on update — folder moves happen via the mobile app only.
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>",
"routine": "<routine>"
},
"name": "update_routine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routine | Yes | ||
| routineId | Yes |