get_food_shelf_life
Check how long a food item lasts safely in fridge, freezer, pantry, or counter using USDA data.
Instructions
Return the USDA-recommended maximum storage time (in days) for a food item across all valid storage methods (fridge, freezer, pantry, counter). Use this when a user asks 'how long does X last' or 'is it still good?' for any food item.
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": {
"food": "<food>"
},
"name": "get_food_shelf_life"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| food | Yes | Food name. Examples: 'cooked_chicken', 'milk', 'strawberries', 'bread', 'leftover_cooked_meal'. |