get_food
Fetch detailed nutrition data for a specific FatSecret food ID, including all serving sizes and complete macro- and micronutrient values.
Instructions
Get detailed nutrition information for a specific food by its FatSecret food ID. Returns all serving sizes and complete macronutrient + micronutrient data (calories, protein, carbs, fat, fiber, sodium, vitamins, etc.).
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": {
"food_id": "<food_id>"
},
"name": "get_food"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| food_id | Yes | FatSecret food ID (obtained from search_foods) | |
| flag_default_serving | No | Highlight the default/recommended serving size |