list_stock_entries
List a product's stock entries by purchase batch to see best-before dates, locations, and obtain entry_id for editing or identifying the earliest expiring pack.
Instructions
List a product's individual stock entries — one per purchase batch.
list_stock shows the total; this shows what that total is made of, since each batch carries its own best-before date and location. Call this to get an entry_id before edit_stock_entry, or to see which pack expires first.
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": "list_stock_entries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes |