create_program
Create a program: a name, a length in days (1-730) and its items. Day 1 is dayOffset 0. Everything is validated when saved (a message needs text, a workout/nutrition item needs a template, an online session needs a link). Nothing is sent to anyone until you enrol clients. (confirm-gated: previews until confirm: true)
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": {
"input": "<input>"
},
"name": "create_program"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| confirm | No | Must be true to actually execute. If false/omitted, returns a preview only. |