set_diet_profile
Set or update a user's diet profile to calculate TDEE, define a weight goal, and choose macro presets for personalized nutrition planning.
Instructions
Set/update user diet profile for TDEE calculation and goal setup
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": {
"sex": "<sex>",
"dateOfBirth": "<dateOfBirth>",
"heightCm": "<heightCm>",
"activityLevel": "<activityLevel>",
"weightGoal": "<weightGoal>",
"macroPreset": "<macroPreset>"
},
"name": "set_diet_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bmr | No | Calculated BMR (kcal) | |
| sex | Yes | Biological sex for BMR calculation | |
| tdee | No | Calculated TDEE (kcal) | |
| heightCm | Yes | Height in centimeters | |
| weightGoal | Yes | Weight goal | |
| dateOfBirth | Yes | Date of birth (YYYY-MM-DD) | |
| macroPreset | Yes | Macro split preset | |
| customMacros | No | Custom macro percentages (required if macroPreset is "custom") | |
| activityLevel | Yes | Activity level |