update_routine
Replaces an existing Hevy routine after fetching it; disabled by default and requires confirmation='CONFIRM' to prevent accidental changes.
Instructions
Replace an existing routine. Fetch it first; disabled by default; requires confirmation='CONFIRM'.
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": {
"routine_id": "<routine_id>",
"routine": "<routine>",
"confirmation": "<confirmation>"
},
"name": "update_routine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routine | Yes | ||
| routine_id | Yes | ||
| confirmation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||