Cosmetics Product by Barcode
openbeautyfacts.product.barcodeRetrieve a cosmetics or personal-care product by its EAN/UPC barcode to get its name, brand, categories, quantity, full ingredients list, and image.
Instructions
Lookup a cosmetics/personal-care product by barcode (EAN/UPC) — name, brand, categories, quantity, full ingredients list, image. 6K+ products (Open Beauty Facts)
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": "openbeautyfacts.product.barcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| barcode | Yes | Product barcode (EAN-13, UPC-A, etc.) e.g. "3600523327164" for a shampoo |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |