log_from_template
Log a meal from a saved template in one call by copying its nutrients scaled by portion_factor; optionally record time, wellbeing, and symptoms.
Instructions
Log a meal from a saved template in one call: copies the template's nutrients multiplied by portion_factor (1.0 = one portion, 1.5 = one and a half). name: template name (see list_meal_templates); eaten_at: 'YYYY-MM-DD HH:MM' (default now); wellbeing / symptoms: the user's state after eating (optional). For a meal without a template use log_meal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| eaten_at | No | ||
| symptoms | No | ||
| wellbeing | No | ||
| portion_factor | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |