addWeighInWithTimestamps
write
same raw-value, no-conversion rule as `addWeighIn`; the two timestamps are COUPLED: the local instant resolves from `dateTimestamp` if given (naive strings read as LOCAL time) else from `when` (defaults `new Date()`), and `gmtTimestamp`, when omitted, is derived from THAT resolved instant — never independently from `when`. Both supplied strings are re-formatted rather than forwarded verbatim (a naive `gmtTimestamp` is read as UTC)
addWeighInWithTimestamps(weightValue, unitKey?, dateTimestamp?, gmtTimestamp?, when?)| Parameter | Type | Optional | Description |
|---|---|---|---|
| weightValue | number | no | |
| unitKey | "kg" | "lbs" | yes | |
| dateTimestamp | string | yes | |
| gmtTimestamp | string | yes | |
| when | string (ISO date-time) | yes | A moment in time, ISO 8601, e.g. 2026-09-28T07:30:00 (local) or with Z/offset |
In Claude this is the add_weigh_in_with_timestamps tool.