Find healthier alternatives
find_healthier_alternativesFinds similar products in the same food category that score higher than a given item, ranked by score.
Instructions
Finds similar products in the same Open Food Facts category that score clearly higher than the given product, best first, each with its score.
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": "find_healthier_alternatives"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| barcode | Yes | Barcode of the product to beat. | |
| country | No | Only suggest products sold in this country, e.g. 'united-states'. |