Scale a portion
calculate_portionScale one food to a gram weight and return calories and macros. Use after search_foods when the user gives an amount.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grams | Yes | Weight in grams | |
| food_id | Yes | food_id from search_foods |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |