add_weigh_in_with_timestamps
Record a weigh-in using explicit local and GMT timestamps, keeping both coupled so timezone alignment stays accurate when adding Garmin Connect weight data.
Instructions
addWeighIn with explicit local and GMT timestamps. 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).
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": {
"weightValue": "<weightValue>"
},
"name": "add_weigh_in_with_timestamps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| when | No | A moment in time, ISO 8601, e.g. 2026-09-28T07:30:00 (local) or with Z/offset | |
| unitKey | No | ||
| weightValue | Yes | ||
| gmtTimestamp | No | ||
| dateTimestamp | No |