log_custom_food
Log a food item using its exact calories and macros when no database match exists. Ideal for restaurant meals or homemade dishes with known nutrition per serving.
Instructions
Log a food by its exact nutrition values, without needing a match in the food database. Use this for restaurant meals, homemade dishes, or anything where you know the calories and macros but search_food has no good match. Values are per serving.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Day to log to: 'YYYY-MM-DD', 'today', or 'yesterday'. | |
| meal | No | One of: breakfast, lunch, dinner, snacks. | snacks |
| name | Yes | Food name as it should appear in the diary. | |
| brand | No | Brand or restaurant, e.g. 'Microsoft Gastrohub 75'. | |
| fat_g | No | Total fat in grams. | |
| carb_g | No | Carbohydrate in grams. | |
| dry_run | No | Preview without writing. | |
| fiber_g | No | Fiber in grams. | |
| sugar_g | No | Sugar in grams. | |
| calories | Yes | Calories per serving. | |
| servings | No | How many of this serving to log. | |
| protein_g | No | Protein in grams. | |
| sodium_mg | No | Sodium in milligrams. | |
| cholesterol_mg | No | Cholesterol in milligrams. | |
| saturated_fat_g | No | Saturated fat in grams. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||