Get Protein
get_proteinRetrieve protein content per 100 grams for a USDA FoodData Central food entry using its FDC ID, returning a single value to minimize context usage.
Instructions
Return per 100 g protein 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_protein"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fdcId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | ||
| nutrient | Yes |