routine_update
Replace a routine's full exercise list, previewing changes by default and applying them only when confirmation is enabled.
Instructions
Replace a routine's contents (dry-run unless confirm=true).
Liftoff's edit has no partial mode: this replaces the WHOLE exercise list.
Call routine_show first, modify that list, and pass all of it back.
Set inputs are the same shape as routine_create (kilograms).
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": {
"name_or_id": "<name_or_id>",
"exercises": "<exercises>"
},
"name": "routine_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| confirm | No | ||
| exercises | Yes | ||
| is_public | No | ||
| name_or_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||