get_food
Retrieve a single food product's nutrition data by fooddb ID, optionally pinned to a date snapshot or including Open Food Facts.
Instructions
One product by its fooddb id.
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": {
"product_id": "<product_id>"
},
"name": "get_food"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshot | No | ||
| product_id | Yes | ||
| include_off | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||