get_food_details
Retrieve detailed nutrition facts and serving sizes for a food item. Use after searching to get nutrient profiles and measure IDs for adding entries to your diary.
Instructions
Get detailed food information including nutrition and serving sizes.
Use this after search_foods to get the full nutrient profile and available measure_ids needed for add_food_entry.
nutrients is for one serving of serving_grams, keyed and scaled exactly
as add_custom_food and update_custom_food take them, so a value read here
can be written straight back unchanged. Cronometer's own stored rows, per
100 g and by numeric id, are alongside as nutrients_per_100g.
Args: food_id: Food ID from search_foods results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| food_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |