Get One Food by Id
fooddata_get_foodRetrieve full nutritional details for a single food by its ID from search results, including per-100g macros and source attribution.
Instructions
Full detail for a single food by the id returned from fooddata_search ("off:" or "frida:").
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": {
"id": "<id>"
},
"name": "fooddata_get_food"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |