delete_recipe
Deletes a saved recipe or meal by retiring it by default so diary entries remain, or removes it permanently when explicitly requested. Use for recipes, not custom foods.
Instructions
Delete a recipe or saved meal that you created.
By default the recipe is retired, as the app does for a recipe that has been logged: it disappears from search and from the recipe and meal lists, and diary entries that already use it are kept.
permanent=True deletes it outright. This ALSO REMOVES THE DIARY ENTRIES that logged it. Use it only for a recipe that was never logged, or when the user has explicitly asked for those entries to go.
Plain custom foods are not accepted; use delete_custom_food for those.
Args: food_id: ID of the recipe or meal to delete. permanent: Delete outright instead of retiring (see above).
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": {
"food_id": "<food_id>"
},
"name": "delete_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| food_id | Yes | ||
| permanent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |