calculate_macros
Calculate macronutrient targets.
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>"
},
"name": "calculate_macros"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | Goal: lose, maintain, gain | maintain |
| calories | Yes | Daily calorie target |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | ||
| macros | Yes | ||
| calories | Yes |