macro_calculator
Calculate daily protein, carbs, and fat grams from your target calories and preferred percentage split, using balanced, keto, low-carb, or high-protein presets.
Instructions
Protein/carbs/fat grams from target calories and percentage split. Presets: balanced, keto, low-carb, high-protein.
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": {
"targetCalories": "<targetCalories>"
},
"name": "macro_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fatPercent | No | ||
| carbsPercent | No | ||
| proteinPercent | No | ||
| targetCalories | Yes |