getWeight
Retrieve weight data for a date range, including each day's latest weight and body composition, range averages, and the nearest weights before and after; set includeAll for every daily entry.
Instructions
Weight for a date range, yyyy-MM-dd: the latest weight of each day (with body fat, muscle and bone mass, BMI and body water when a scale records them), the average of the range, and the last weight before and the first after the range. Set includeAll=true for every entry of each day. Weight, muscle mass and bone mass are in grams. The range has no day cap: ask a trend of months in one call.
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": {
"fromDate": "<fromDate>",
"toDate": "<toDate>"
},
"name": "getWeight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toDate | Yes | To date yyyy-MM-dd | |
| fromDate | Yes | From date yyyy-MM-dd | |
| includeAll | No | Every weight entry of each day, not only the latest |