Daily calorie target
calculate_macro_targetsEstimate daily calorie and macro targets from age, sex, weight, height, activity, and goal. Does not look up foods.
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": {
"age": "<age>",
"gender": "<gender>",
"weight_kg": "<weight_kg>",
"height_cm": "<height_cm>",
"activity": "<activity>",
"goal": "<goal>"
},
"name": "calculate_macro_targets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | Yes | Age in years | |
| goal | Yes | lose, maintain, or gain | |
| gender | Yes | male or female | |
| activity | Yes | sedentary, lightly_active, moderately_active, very_active, or extra_active | |
| height_cm | Yes | Height in centimeters | |
| weight_kg | Yes | Body weight in kilograms |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |