search_foods
Find foods in the ES catalog by default and return food IDs required to request serving details. Filter by region and language, with result limits and pagination.
Instructions
Search foods in the ES/es catalog by default. Use returned food_id before requesting servings.
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_foods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| region | No | ES | |
| language | No | es | |
| max_results | No | ||
| page_number | No |