Get a food's nutrients scaled to a serving
get_foodRetrieve a complete nutrient profile for a food by FDC ID, scaled to your serving grams, including %DV against FDA adult daily values and a citable source line.
Instructions
Full nutrient panel for one fdcId, scaled from FDC's per-100g basis to the grams you ask for, with %DV against FDA adult Daily Values. Includes a citable source line.
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": {
"fdc_id": "<fdc_id>"
},
"name": "get_food"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grams | No | Serving size in grams. Default 100. | |
| fdc_id | Yes |