Macronutrient Split
macrosCompute protein/fat/carb grams for a calorie target using the g-per-kg-bodyweight method, with goal-based protein defaults.
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": {
"calories": "<calories>",
"weight": "<weight>"
},
"name": "macros"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | maintain | |
| weight | Yes | ||
| methods | No | all | |
| calories | Yes | ||
| fat_g_per_kg | No | ||
| protein_g_per_kg | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | ||
| consensus | Yes |