add_client_progress_history
Load a client's past weight, tape measurements (chest, arm, thigh, waist, hip, neck) and progress photos with back-dated days (batch, confirm-gated, up to 100 rows). Works for a client who has not finished app onboarding too: the rows are held and appear on their timeline when they onboard (see list_pending_client_progress). Rows identical to ones already saved are skipped, so a retry is safe. Set units to imperial to send lb and inches. Photos: S3 keys from upload_file, or local file paths in photoFiles (uploaded first; local server only).
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": {
"clientId": "<clientId>",
"entries": "<entries>"
},
"name": "add_client_progress_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | metric = kg + cm; imperial = lb + inches | metric |
| confirm | No | Must be true to actually execute. If false/omitted, returns a preview only. | |
| entries | Yes | ||
| clientId | Yes | Client's User _id (from list_clients) |