find_product
Find a product's ID in the health catalog by name or brand to prepare for logging food; omit the query to list the entire catalog.
Instructions
Search the Catalog by name or brand (substring match). Omit query to list the
whole Catalog. Call this before log_food against a Catalog Product — the result's
id is the product_id log_food expects.
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": "find_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |