Food diary
nutrition_logThe meal diary: every logged food with full nutrient detail, grouped by day. Each entry has an id: pass it to edit_entry to correct the entry or to delete_entry to remove it. Entries an AI added that the phone has not applied yet are included and marked pending.
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": "nutrition_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day, YYYY-MM-DD, inclusive (optional, default today) | |
| days | No | Days back (default 7, max 90) | |
| from | No | First day, YYYY-MM-DD on the phone's calendar (optional, used instead of days) |