Nutrients For Food
nutrients_for_foodConvenience: nutrient values only for a food.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fdc_id": 1102704,
"nutrient_numbers": "208,205,291"
},
"name": "nutrients_for_food"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fdc_id | Yes | ||
| nutrient_numbers | No | Comma-sep nutrient numbers (e.g. "208,205") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fdc_id | No | FDC food identifier | |
| nutrients | No | Array of nutrient values | |
| description | No | Food description |