Albert Heijn: Product Details
ah_get_productsFetch detailed Albert Heijn product data by ID or barcode, including price, bonus, NutriScore, and optional nutritional values, to verify items or enrich search results.
Instructions
Get detailed information about one or more Albert Heijn products by ID (max 20). Returns title, brand, category, description, price, unit size, bonus info, NutriScore, property icons. Set include_nutritional_info=true to also return calories, fat, protein, etc. Get product IDs from ah_search_products, or pass barcodes: the EAN number under a product's barcode (8, 12, 13 or 14 digits, e.g. read from a photo of the pack). A barcode AH doesn't sell returns an error for it. When you mention a product or recipe from the result, link its name to its url.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ah_get_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| barcodes | No | Barcode (EAN) numbers, e.g. ["8710400058519"]; counted in the max of 20 products (max 50 barcodes) | |
| product_ids | No | Product IDs from ah_search_products, e.g. [123456] or [123456, 789012]; at most 20 products are fetched per call (max 50 ids) | |
| include_nutritional_info | No | Include nutritional values (default false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| products | Yes |