save_meal_template
Save a reusable meal template for meals you eat often, so you can log them later in one call instead of re-entering data.
Instructions
Save (or overwrite) a reusable template for a meal eaten often, so it can later be logged in one call with log_from_template. name: short unique key (e.g. "oatmeal"); meal_type: breakfast / lunch / dinner / snack / drink; description: what it contains; nutrients: {nutrient_code: amount} for ONE portion, same codes as log_meal (energy_kcal, protein, fiber, sodium, vitamin_c, …); glycemic_index: optional. See list_meal_templates for existing ones.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| meal_type | No | ||
| nutrients | No | ||
| description | No | ||
| glycemic_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |