product_details
Retrieve complete product details from Grocy, including stock levels, expiry dates, purchase history, and usage stats. Use this to assess restocking needs or decide whether to discontinue a product.
Instructions
Everything Grocy knows about one product: stock, dates, and history.
Includes when it was last bought and last used, its average shelf life and spoil rate, the amount currently open, and its minimum stock level — the context for deciding whether to restock something or stop buying it.
Args: product: Product name, description fragment, or barcode.
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": {
"product": "<product>"
},
"name": "product_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes |