search_products
Search for food products by name or brand to retrieve nutrition information from Open Food Facts.
Instructions
Search food products by name or brand.
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": "search_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Free-text search, e.g. "nutella" or "oat milk". | |
| page_size | No | Number of results to return (1-25, default 5). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |