search_food
Search USDA FoodData Central for foods by name. Returns nutrition macros for matching foods.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_food"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Food name to search (e.g. "chicken breast", "avocado") | chicken breast |
| brand | No | Filter by brand owner | |
| limit | No | Number of results (max 25) | |
| dataType | No | Filter by data type: Foundation, SR Legacy, Survey (FNDDS), Branded |