Log weight
log_weightRecord the user's body weight (kg or lb) in Marrow and Apple Health, with body fat percent if they gave it. Returns an id that undo_entry accepts. To correct the value later use edit_entry.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "log_weight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kg | No | ||
| lb | No | ||
| day | No | YYYY-MM-DD on the user's phone (default today, up to 30 days back, never the future) | |
| time | No | HH:MM, 24 hour, phone time (optional) | |
| idempotency_key | No | Optional. The same key never logs twice. Use a new one to log an identical entry again on purpose. | |
| body_fat_percent | No |