search
Find Cronometer foods by name or look up a diary day by date, including "today" and "yesterday". Use it to locate entries, then read full details with fetch.
Instructions
Search Cronometer: foods by name, or a diary day by date.
A date (YYYY-MM-DD, "today", "yesterday") finds that day's diary; anything else searches the food database. Read a result in full with fetch.
Args: query: Food name, or a date.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |