Send a program to MassBuilder
send_programCheck a training program against MassBuilder's rules and get a link that opens it in the app on the person's iPhone, where they look it over, change anything and save it. The workouts run in turn, and the app adds weight when every set is done in full. If something breaks a rule, the answer lists what to fix: fix it and call this again. Nothing is stored: the program is in the link itself. Give the person the link as it is.
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": {
"name": "<name>",
"days": "<days>"
},
"name": "send_program"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | The workouts, in the order they run. | |
| name | Yes | The program's name. | |
| unit | No | The unit of startWeight. Leave out for kg. | |
| notes | No | Up to five short lines for the person: what you assumed or chose. | |
| weeks | No | How many weeks the program runs before the app suggests a new one. Leave out for 12. | |
| source | No | Your name as the person knows you, like Claude, ChatGPT or Grok. The app shows it. | |
| language | No | The language you and the person write in, like en or sv, for the page the link opens. | |
| daysPerWeek | No | Training days a week. The workouts run in turn, so two workouts can be three days a week. | |
| progression | No | One or two sentences on how the weights go up. |