Nutrition targets
malai_get_nutrition_targetsMALAI: Read the user's daily nutrition targets from MALAI: calories, protein, carbs, fat, fiber, plus BMR and TDEE. MALAI calculates these from the user's profile and GLP-1 needs; use them exactly as given rather than calculating your own. Use when the user asks about their goals, their protein target, or whether an amount is enough.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bmr | No | ||
| note | Yes | ||
| tdee | No | ||
| fatGrams | No | ||
| carbGrams | No | ||
| fiberGrams | No | ||
| hasTargets | Yes | False when targets were never calculated; the other numbers are then absent. | |
| proteinGrams | No | ||
| goalDeltaKcal | No | ||
| isPlaceholder | Yes | ||
| safetyAdjusted | No | ||
| targetCalories | No |