Fdc Food Search
fdc_food_searchSearch USDA FoodData Central to find foods and their nutrient amounts. Enter a query to retrieve paginated results with per-food nutrient values for dietary and nutrition analysis.
Instructions
Search USDA FoodData Central; each result carries its nutrient amounts.
The API key is resolved from the credential reference this package
declares (WORLD_REFERENCE_FDC_API_KEY, env:// by default) —
never accepted as a tool argument.
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": {
"query": "<query>"
},
"name": "fdc_food_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| page_size | No | ||
| page_number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||