Log body metric
log_body_metricRecord a body-metric reading for a participant (weight, body_fat, muscle_mass, resting_hr, flexibility, waist, or a custom metric_key). Appends to the time-series.
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": {
"participant_id": "<participant_id>",
"metric_key": "<metric_key>",
"value": "<value>"
},
"name": "log_body_metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| unit | No | Defaults to the known unit for standard metrics. | |
| label | No | Display label for a custom metric. | |
| value | Yes | ||
| metric_key | Yes | e.g. weight | body_fat | resting_hr | flexibility, or a custom slug. | |
| measured_at | No | ISO timestamp (default: now). | |
| participant_id | Yes |