Set a program rule
set_program_ruleAdds or replaces a rule that belongs to this program (it doesn't follow the athlete to another program). Rules about the athlete (e.g. their tennis) are set with set_athlete_rule. Forks a preset first. The app shows the rule to the athlete and does not apply it. check is still required and is stored, but nothing reads it.
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": {
"rule": "<rule>"
},
"name": "set_program_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | Yes | ||
| programName | No |