meal_log
Log meals, track daily and weekly nutrition summaries, and manage your food diary by adding, listing, or deleting entries.
Instructions
Log meals, view daily/weekly summaries, manage food diary. Actions: log, list, delete, daily_summary, weekly_summary.
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": {
"action": "<action>"
},
"name": "meal_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date (YYYY-MM-DD, default today) | |
| fdcId | No | FDC ID of food to log | |
| notes | No | Optional notes | |
| action | Yes | Action to perform | |
| weekOf | No | Monday of week (YYYY-MM-DD, for weekly_summary) | |
| entryId | No | Entry ID (for delete action) | |
| mealType | No | Meal type | |
| servings | No | Number of servings (default 1) | |
| servingSize | No | Serving size description |