macro_calc
Calculate daily macronutrient targets for protein, carbohydrates, and fat using body metrics and activity level to support your fitness goal: maintain, lose, or gain weight.
Instructions
Calculate daily macronutrient targets (protein, carbs, fat).
Parameters:
weight — Weight in kg.
height — Height in cm.
age — Age in years.
sex — 'male' (default) or 'female'.
activity — Activity level (default: 'sedentary').
goal — 'maintain' (default), 'lose', or 'gain'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weight | Yes | ||
| height | Yes | ||
| age | Yes | ||
| sex | No | male | |
| activity | No | sedentary | |
| goal | No | maintain |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |