Create Favorite Meal
create_favorite_mealSave a favorite meal, as the app's "add to favorites" does. Use when the user asks to save a meal as a favorite. Send date and meal to save a meal already in the diary, or items (food_id, food_measure_id, quantity) to save a list of foods. The diary itself doesn't change. The result lists the saved foods and amounts, and skipped counts diary foods that can't be saved.
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": {
"request_id": "<request_id>"
},
"name": "create_favorite_meal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Day of the logged meal to save, YYYY-MM-DD. | |
| meal | No | The logged meal to save. | |
| name | No | Name for the meal, such as "Seitan dinner". Defaults to the meal and date for a diary meal. | |
| items | No | The foods to save, up to 30, instead of a diary meal. | |
| request_id | Yes | A new unique string for this action. Reuse it only when retrying the same action. |