create_food
Create a custom food item with complete nutrition info—calories, fat, carbs, and protein—for personal diet tracking. Requires an authorized FatSecret profile.
Instructions
Create a custom food with nutrition info. Premier exclusive. Requires profile auth (check_auth_status first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fat | Yes | Total fat (g) | |
| iron | No | ||
| fiber | No | ||
| sugar | No | ||
| sodium | No | ||
| calcium | No | ||
| protein | Yes | Protein (g) | |
| calories | Yes | Calories (kcal) | |
| food_name | Yes | Food name | |
| potassium | No | ||
| trans_fat | No | ||
| vitamin_a | No | ||
| vitamin_c | No | ||
| vitamin_d | No | ||
| brand_name | Yes | Brand name | |
| cholesterol | No | ||
| added_sugars | No | ||
| carbohydrate | Yes | Total carbohydrate (g) | |
| serving_size | Yes | Serving size description (e.g. "1 slice") | |
| saturated_fat | No | ||
| serving_amount | No | ||
| calories_from_fat | No | ||
| monounsaturated_fat | No | ||
| polyunsaturated_fat | No | ||
| serving_amount_unit | No |