Record a body measurement
log_body_metricRecord the user's body weight, body-fat % or circumferences for one day, when the user
states a current measurement. Training goes to log_session, and measurements are read
back with get_body_metrics. The app's weight tile and charts and the coaching context
read these entries, not the profile's bodyweight field.
One entry per date, and recording the same date again ADDS to it: fields left out keep
their stored value, new measurements or custom_fields keys join the existing ones,
and a repeated key or field is overwritten, which is how a wrong number is corrected. A
field sent as null is cleared. Returns the whole stored entry for that day. There is no
delete.
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": {
"metric": "<metric>"
},
"name": "log_body_metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||