Calories from macros
macro_caloriesCalories from grams of protein, carbs, fat and alcohol (4/4/9/7 kcal per gram).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "macro_calories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fat_g | No | ||
| carbs_g | No | ||
| alcohol_g | No | ||
| protein_g | No |