Product details
get_productRead a product page to retrieve its ingredient list, highlighted allergens, possible traces, allergen statement, and origin; ingredients return null for raw products.
Instructions
Reads a product page: ingredient list (allergens in capitals, possible traces), allergen statement if the site provides it, and origin. Ingredients are null for a raw product (fruit, fresh meat).
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_id": "<product_id>",
"store": "<store>"
},
"name": "get_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | Yes | retailer (see list_stores) | |
| product_id | Yes | retailer product identifier (id field of search_products) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| store | Yes | ||
| origin | Yes | origin declared on the product page, if any | |
| allergens | Yes | separate allergen statement, if the site provides it | |
| ingredients | Yes | ingredient list as displayed (allergens in capitals); null for a raw product |