smartgym_create_program
Create and validate complete SmartGym routines with goals, warmup, exercises, and cooldown; save them to the server so all synced devices receive the program.
Instructions
Create one or more routines (a program) on the SmartGym server — all devices get them.
Each routine: name (must not match an active routine), goal (required free text, e.g.
"Strength" — the app can't save a routine without one), optional days/note, and three
ordered sections — `warmup` (optional), `exercises` (= main, required), `cooldown`
(optional). Each exercise: catalog name or id, optional rest_seconds, note and template
sets. Validation is all-or-nothing; dry_run=false creates the routines and verifies them
on the server.
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": {
"routines": "<routines>"
},
"name": "smartgym_create_program"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| routines | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | ||
| notice | Yes | ||
| created | Yes | ||
| dry_run | Yes |