update_draft_workout
Replace a specific workout in a managed training plan after verifying the plan's hash to ensure integrity, then update with new details.
Instructions
Replace one workout on a managed plan after checking the plan hash.
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": {
"plan_id": "<plan_id>",
"expected_hash": "<expected_hash>",
"workout_id": "<workout_id>",
"name": "<name>",
"description": "<description>",
"activity_type": "<activity_type>",
"day": "<day>"
},
"name": "update_draft_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | Yes | ||
| name | Yes | ||
| tags | No | ||
| time | No | ||
| indoor | No | ||
| target | No | AUTO | |
| plan_id | Yes | ||
| confirmed | No | ||
| workout_id | Yes | ||
| description | Yes | ||
| activity_type | Yes | ||
| expected_hash | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||