Copy Meal
copy_mealCopy a logged meal to another date or meal, such as yesterday's lunch into today's dinner. Use when the user asks to copy or repeat a meal. The result lists what was added and any insights the app noted.
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": {
"source_date": "<source_date>",
"source_meal": "<source_meal>",
"target_date": "<target_date>",
"target_meal": "<target_meal>",
"request_id": "<request_id>"
},
"name": "copy_meal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | Yes | A new unique string for this action. Reuse it only when retrying the same action. | |
| source_date | Yes | The day to copy from, YYYY-MM-DD. | |
| source_meal | Yes | ||
| target_date | Yes | The day to copy to, YYYY-MM-DD. | |
| target_meal | Yes |