get_food
Retrieve detailed nutritional information for a specific food by ID, including servings, calories, macronutrients, and micronutrients.
Instructions
Get detailed nutritional information for a specific food by ID. Returns servings, calories, macros, and micronutrients.
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 |
|---|---|---|---|
| region | No | ||
| food_id | Yes | Food ID | |
| language | No | ||
| page_number | No | ||
| include_food_images | No | ||
| flag_default_serving | No | ||
| include_sub_categories | No | ||
| include_food_attributes | No |