Get Food Categories
get_categoriesRetrieve category tags for a FoodData Central entry using its FDC ID, including food category, branded food category, and Wweia food category when available.
Instructions
Return category tags for a FoodData Central entry, including FoodCategory, brandedFoodCategory, and WweiaFoodCategory when available.
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": {
"fdcId": "<fdcId>"
},
"name": "get_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fdcId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | ||
| categories | Yes |