calculate_weight_loss_timeline
Project a weight-loss or weight-gain timeline from TDEE inputs plus goal weight. In target-date mode it returns the required daily calorie target and rate. In rate mode it returns the projected date. Uses the 7,700 kcal/kg approximation.
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": {
"gender": "<gender>",
"age": "<age>",
"weight": "<weight>",
"height": "<height>",
"formula": "<formula>",
"activityFactor": "<activityFactor>",
"goalWeight": "<goalWeight>",
"mode": "<mode>"
},
"name": "calculate_weight_loss_timeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | Yes | Age in years | |
| mode | Yes | target-date (provide targetDate) or rate (provide rateKgPerWeek) | |
| gender | Yes | Biological sex: M (male) or F (female) | |
| height | Yes | Height in cm | |
| weight | Yes | Current weight in kg | |
| formula | Yes | BMR equation | |
| goalWeight | Yes | Goal weight in kg; must differ from the current weight, and be lower than it in rate mode (target-date mode also plans gain) | |
| targetDate | No | Goal date in YYYY-MM-DD; required for target-date mode | |
| rateKgPerWeek | No | Desired rate in kg/week; required for rate mode | |
| activityFactor | Yes | Activity multiplier: 1.2 sedentary … 1.9 very active |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bmr | Yes | Basal metabolic rate in kcal/day | |
| tdee | Yes | Total daily energy expenditure in kcal/day | |
| safety | Yes | Floor, BMR and pace flags for dailyTarget (dailyTarget is never altered) | |
| goalWeight | Yes | Goal weight in kg | |
| dailyTarget | Yes | Target kcal/day | |
| weeksToGoal | Yes | Weeks to reach goal weight | |
| currentWeight | Yes | Current weight in kg | |
| projectedDate | Yes | Projected goal date (YYYY-MM-DD) | |
| rateKgPerWeek | Yes | Effective rate in kg/week | |
| weightDeltaKg | Yes | Signed weight change in kg | |
| dailyAdjustment | Yes | Signed daily kcal adjustment needed | |
| intakeFloorKcal | Yes | Intake floor for the sex, kcal/day (1,200 F / 1,500 M) |