search_products
Find any product by name, description, or barcode across the full catalog. Check in_stock flags to verify availability, catch duplicates before creating, and confirm naming before stock changes.
Instructions
Find products by name, description, or barcode — across the whole catalog, not just what's currently on the shelf.
A miss means the product genuinely doesn't exist in Grocy. A hit's in_stock flag says whether there's actually any on hand right now — a hit with in_stock: false is a known product sitting at zero, not a false positive. Check this before create_product to catch an existing or near-duplicate product, and before add_stock/consume_product when unsure how something is named.
Args: query: Case-insensitive substring, or a full GTIN/EAN barcode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |