save_template
Create or overwrite a saved meal from explicit items or an existing meal ID, returning the saved items and totals plus today's totals.
Instructions
Create or overwrite a saved meal, from explicit items or from an existing meal_id. Returns the saved items and totals, plus today's totals.
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": "save_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | e.g. "grill plate" | |
| items | No | Items to save; omit if using meal_id | |
| meal_id | No | Copy items from this logged meal; omit if using items |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||