get_nutrition_scores
Retrieve Nutri-Score, NOVA processing group, and Eco-Score for any food product by its barcode.
Instructions
Get the Nutri-Score, NOVA processing group and Eco-Score for a product.
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": "get_nutrition_scores"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| barcode | Yes | The product barcode, digits only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |