Log weight (replaces day)
log_weight_entryLog an owner's weight in kilograms for a given date, upserting same-day entries and syncing the end-to-end encrypted value to Apple Health.
Instructions
Log the owner's weight (kg) on their behalf (agent write, 2026-07-21).
weight_kg: kilograms (positive, ≤500). date: LOCAL calendar day
"YYYY-MM-DD" (default = today). Same-day upsert-in-place semantics
(dayID = "body-{dayStart.epoch}") — re-logging the same day overwrites.
Encrypted end-to-end before it ever leaves this machine.
A weight's home is Apple Health: the phone carries this one there on its
next sync, through the iOS setting "Allow AI to update Apple Health" (MCP
tab; OFF by default). It is also readable here at once (get_metric
series "weight_kg").
⚠️ When no iPhone of this account has that setting on (with Weight access granted), the write is REFUSED and nothing is saved — from app 1.3.0 a weight may not live only in the cloud. The error says what to turn on; pass it on and do not retry until the person has done it. Never tell them to re-enter the number by hand in the Vaultbeat weight card instead: logging it in both places makes two entries for one day from different sources and corrupts the trend line.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| weight_kg | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||