set_macro_targets
Update calorie and protein, carb, and fat targets for one day, changing only specified values and keeping the rest unchanged.
Instructions
Change the calorie and macro targets for one day.
Only the values given change; the rest are read first and kept. For a lasting change across the week, use create_macro_template and set_weekly_macro_schedule instead.
Args: date: YYYY-MM-DD (defaults to today). calories: Energy target in kcal. protein_grams: Protein target in grams. carbs_grams: Net carbs target in grams. fat_grams: Fat target in grams. template_name: Label for the day's targets (defaults to "Custom Targets").
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_macro_targets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| calories | No | ||
| fat_grams | No | ||
| carbs_grams | No | ||
| protein_grams | No | ||
| template_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |