set_macro_targets
Update daily protein, fat, carbs, and calorie targets in Cronometer. Omitted values remain unchanged, preserving existing settings.
Instructions
Update daily macro targets in Cronometer.
Reads current targets first, then updates only the provided values. Omitted values remain unchanged.
Args: protein_grams: Protein target in grams. fat_grams: Fat target in grams. carbs_grams: Net carbs target in grams. calories: Calorie target in kcal. target_date: Date as YYYY-MM-DD (defaults to today). template_name: Template name (defaults to "Custom Targets").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| protein_grams | No | ||
| fat_grams | No | ||
| carbs_grams | No | ||
| calories | No | ||
| target_date | No | ||
| template_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |