mfp_set_goals
Update daily nutrition goals for calories, protein, carbs, and fat. Set new targets for specific nutrients while leaving others unchanged.
Instructions
Update daily nutrition goals (calories, protein, carbs, fat).
Sets new daily targets for the specified nutrients. Only updates the
values that are provided; others remain unchanged.
Args:
params: SetGoalsInput containing:
- calories (int, optional): Daily calorie goal
- protein (int, optional): Daily protein goal in grams
- carbohydrates (int, optional): Daily carb goal in grams
- fat (int, optional): Daily fat goal in grams
Returns:
str: Confirmation message with updated goals
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": {
"params": "<params>"
},
"name": "mfp_set_goals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |