api_food_nutrient_search
Search USDA FoodData Central branded/foundation foods with caller-owned API key; return actual per-food nutrient quantities and units. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.
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": "api_food_nutrient_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum foods 1 to 10 | |
| query | Yes | Food/ingredient name |