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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "log_from_template"
}
}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 |