delete_product
Permanently remove a product with zero stock from your Grocy catalog. Refuses deletion if any stock remains, ensuring safe cleanup of duplicate or test products.
Instructions
Permanently remove a product with zero stock from the catalog.
Refuses if any stock is on hand — consume_product it down to zero first. This is for cleaning up mistakes (a test product, a typo'd duplicate caught by search_products or create_product's possible_duplicates), not for retiring a product still in use.
Args: product: Product name, description fragment, or barcode. Must identify exactly one product.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes |