Delete a private recipe
delete_recipeDelete a private recipe by its recipe_id, removing it from your Fitatu foods and searches. Only user-created recipes are deleted; catalog or shared ones are refused.
Instructions
Delete one of the user's own private recipes: create_recipe's recipe_id or a get_my_foods RECIPE hit's food_id. Any other recipe (a catalog recipe, a shared one or another user's) is refused before anything is changed (that check reads the recipe). Fitatu keeps a deleted recipe marked deleted, out of the user's foods and searches; deleting it again gives data.ok true with already_deleted true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipe_id | Yes | Id of a recipe the user created. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | describe_error() of what went wrong; docs/AGENTS.md, Results and errors. |