List Portions
list_portionsGet labeled portion sizes for any USDA FoodData Central food item using its fdcId, with gram weights when available.
Instructions
Return labeled portion sizes for a FoodData Central entry, including gram weights 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": "list_portions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fdcId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | ||
| portions | Yes |