Search foods and products
search_foodsLook a food up before logging it: the person's saved foods (yours, by id) and Kove's food table and products (kove, by ref), figures per 100 g (100 ml for a drink). Then log_meal with saved_foods [{id, amount}] or kove_foods [{ref, amount}], and Kove logs its own figures.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_foods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | A food, product or brand, in the person's words. | |
| barcode | No | A product's barcode digits. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kove | Yes | ||
| yours | Yes | ||
| message | No |