get_expiring_soon
Find perishable items nearing or past their estimated use-by date, sorted soonest first, to help you use or discard stock before it spoils.
Instructions
Perishables at or past their estimated use-by, soonest first. Only items with a shelf life set and at least one purchase.
Two exclusions keep this list honest rather than merely long: items the user has confirmed are gone (they cannot spoil), and items expired for longer than their own shelf life again — a chicken ten days past a three-day use-by was eaten or binned a week ago, and nagging about it is how a list stops being read.
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": "get_expiring_soon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| within_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |