get_product_by_barcode
Retrieve product details by entering a barcode number. Use this tool to identify items when customers scan or read a barcode.
Instructions
Find a product by its barcode number. Useful when a customer scans or reads a 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": {
"barcode": "<barcode>"
},
"name": "get_product_by_barcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| barcode | Yes | The barcode number to search for |