product_search
Search Open Food Facts by food name to find product matches with barcode, brand, quantity, Nutri-Score, and NOVA group, with optional brand or country filters.
Instructions
Search Open Food Facts by food name (full text). Returns a short page of matches with barcode, name, brand, quantity, Nutri-Score, and NOVA group. Optional brand and country filters. Does not return nutrient tables; call barcode_lookup for those. Limited to 10 searches per minute.
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": {
"query": "<query>"
},
"name": "product_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1. | |
| brand | No | Optional brand filter, matched as a substring. Example: Ferrero. | |
| query | Yes | Food name to search for, at least 2 characters. Example: oat milk. | |
| country | No | Optional country filter, matched as a substring of the Open Food Facts country name. Example: France. | |
| page_size | No | Results per page (default 10, max 20). |