get_food_details
Retrieve full nutritional profile and serving sizes for a food using its ID from search results.
Instructions
Get detailed food information including nutrition and serving sizes.
Use this after search_foods to get the full nutrient profile and the available serving sizes for a food.
Args: food_id: Food ID from search_foods results.
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_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| food_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |