calc_macros
Compute a macro split (protein/carbs/fat in grams) for a strategy. STANDARD=40/30/30, PRO=g/kg multipliers, KETO=25/5/70.
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>",
"weightKg": "<weightKg>"
},
"name": "calc_macros"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calories | Yes | ||
| fatPerKg | No | ||
| strategy | No | STANDARD | |
| weightKg | Yes | ||
| proteinPerKg | No |