Protein target by goal (legacy)
protein_calculatorOlder goal-based daily protein range (fat_loss, hypertrophy, maintenance, endurance; optional lean mass), kept for backwards compatibility. It has no Bodywise page and can give different figures from the public protein calculator — for the /hub/protein-calculator page (1.6–2.2 g/kg) call daily_protein_range instead.
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": {
"weight_kg": "<weight_kg>"
},
"name": "protein_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | Goal: fat_loss, hypertrophy, maintenance or endurance. | hypertrophy |
| weight_kg | Yes | Bodyweight in kg. | |
| lean_mass_kg | No | Optional fat-free mass in kg; used for hypertrophy and fat_loss. |