write_goal_weight
Set or clear the target body weight in your profile unit. Pass a number to set the goal, or null to remove it; openGym merges changes one setting at a time.
Instructions
Set the goal body weight (targetW) in the profile unit, or clear it with null. openGym merges settings and the plan one setting and one day at a time: only a device that changes the same setting or day later, before it syncs, keeps its own value.
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": {
"weight": "<weight>"
},
"name": "write_goal_weight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weight | Yes |