Food diary
food_logFoods logged in a nutrition app, within an inclusive date range of up to 31 days and 500 items. Items are what that app wrote to Apple Health, one per food, with energy, macros and other nutrients. A meal is only a grouping by time (items starting within 45 minutes of each other), not a label such as breakfast or lunch, and there are no portions. Meal totals add only the values present. Do not sum across sources: the day total is query_daily. When a meal lists more than one source, its totals may count the same food twice. Edits and deletions in the source app only reach telo for the last 7 days before the last sync. On a new Pro import, the older diary arrives after the rest of the history. Names are what the person typed in their app.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "food_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | ||
| setup | No | ||
| truncated | Yes | ||
| plan_limit | No |