Autocomplete
autocompleteType a prefix to find taxonomy entries like brands, categories, or labels. Open Food Facts provides suggestions to choose from.
Instructions
Get autocomplete suggestions for Open Food Facts taxonomy entries (brands, categories, labels, etc.).
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": {
"tagtype": "<tagtype>",
"query": "<query>"
},
"name": "autocomplete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lc | No | Language code (default: en) | en |
| limit | No | Max results (default: 10, max: 100) | |
| query | Yes | Search prefix | |
| tagtype | Yes | Type of taxonomy to search |