Macro calculator
macro_calculatorThe public Bodywise macro calculator page (/macro-calculator): maintenance calories (Mifflin-St Jeor × activity multiplier), a goal target (build +300 kcal, maintain 0, lean −400; never below 1,200 kcal) and daily protein, fat and carb grams. No email is needed or accepted.
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": {
"sex": "<sex>",
"age": "<age>",
"height_cm": "<height_cm>",
"weight_kg": "<weight_kg>",
"activity": "<activity>",
"goal": "<goal>"
},
"name": "macro_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | Yes | Age in years (18–90). | |
| sex | Yes | Sex assigned at birth. | |
| goal | Yes | build (build muscle), maintain (stay the same weight) or lean (lose fat, keep muscle). | |
| activity | Yes | Activity multiplier: 1.2, 1.375, 1.55, 1.725 or 1.9. | |
| height_cm | Yes | Height in cm. | |
| weight_kg | Yes | Bodyweight in kg. |