Log weight and body composition
log_weightRecord body weight for a date (default today), with body composition when known: body fat %, skeletal muscle mass, fat mass, body water, tape measurements, lean and fat per arm, trunk and leg from a segmental scan, and the machine the reading came from. Values may be read from a smart-scale or body-composition (InBody/BCA) printout photo. One row per date: logging the same date again overwrites weight; a composition field that is omitted keeps its stored value, null clears 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": {
"weight_kg": "<weight_kg>"
},
"name": "log_weight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Calendar date YYYY-MM-DD in the user's timezone | |
| notes | No | ||
| source | No | The machine a body-composition reading came from, as printed on the report or shown in the scale's app, e.g. 'InBody 270S'. Not needed for a plain weigh-in. Omitted keeps the stored value, null clears it. | |
| weight_kg | Yes | ||
| fat_mass_kg | No | ||
| body_fat_pct | No | Percent body fat (PBF) | |
| measurements | No | Tape measurements in cm keyed snake_case with unit, e.g. waist_cm, hip_cm, chest_cm, arm_cm, thigh_cm; also any other figure the scale reports (visceral_fat_level, bmr_kcal, bone_mass_kg, lean_body_mass_kg, subcutaneous_fat_pct). A scale's total "Muscle Mass" goes here as muscle_mass_kg, never in skeletal_muscle_kg; muscle printed only as a percentage of body weight goes as muscle_mass_pct or skeletal_muscle_pct. Segmental figures from a body-composition scan use these keys: left_arm, right_arm, trunk, left_leg, right_leg, each with _lean_kg, _lean_pct, _fat_kg and _fat_pct (e.g. left_arm_lean_kg, trunk_fat_pct); _pct is the percentage of ideal printed beside the kg. Merged with nothing: the map replaces the stored one. | |
| body_water_kg | No | Total body water | |
| skeletal_muscle_kg | No | Skeletal muscle mass (SMM), only when the report names it so. A total "Muscle Mass" figure goes in measurements.muscle_mass_kg. |