set_macro_targets
Update daily macro targets in Cronometer. Adjust only the specified values for protein, fat, carbs, and calories while leaving omitted targets unchanged.
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 |
|---|---|---|---|
| calories | No | ||
| fat_grams | No | ||
| carbs_grams | No | ||
| target_date | No | ||
| protein_grams | No | ||
| template_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |