Fat calculator
fat_calculatorDaily fat: 0.8 g per kg bodyweight by default (allowed 0.5–1.2 g/kg). Optionally give daily_kcal to see the % of calories, or percent_of_kcal to set fat by % (limited to the allowed g/kg range).
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": "fat_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| g_per_kg | No | Fat g/kg (default 0.8). | |
| weight_kg | Yes | Bodyweight in kg. | |
| daily_kcal | No | Daily calories. | |
| percent_of_kcal | No | Fat as % of calories (needs daily_kcal). |