add_workout_to_draft
Add a structured workout to a library plan by providing day, activity type, name, description, and optional tags.
Instructions
Add one structured workout to a managed library plan.
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>",
"name": "<name>",
"description": "<description>",
"activity_type": "<activity_type>",
"day": "<day>"
},
"name": "add_workout_to_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | Yes | ||
| name | Yes | ||
| tags | No | ||
| time | No | ||
| indoor | No | ||
| target | No | AUTO | |
| plan_id | Yes | ||
| confirmed | No | ||
| description | Yes | ||
| activity_type | Yes | ||
| expected_hash | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||