Log a weigh-in
log_weightUse this when the person tells you their weight. Give the weight and unit, and when (null is now). Targets follow the smoothed trend, never one reading. Comes back with an Undo. Do not use to set a weight goal.
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>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "log_weight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | kg or lb; null is their program's unit. | |
| weight | Yes | The weight the scale showed, in unit. | |
| measuredAt | No | When they weighed, an ISO date-time; null is now. | |
| idempotencyKey | Yes | A new random id for this change (a UUID). Send the same one again only to retry this exact change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |