Get Dietary Fiber
get_fiberRetrieve the dietary fiber amount per 100 g for any USDA FoodData Central entry by providing its FDC ID. Returns a single value to minimize data usage.
Instructions
Return per 100 g dietary fiber for a FoodData Central entry. Returns a single value per 100 g to minimize context usage.
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_fiber"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fdcId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | ||
| nutrient | Yes |