what_should_i_order
Generates a prioritized shopping list of household items to reorder, ranking confirmed out-of-stock items first and inferring others from purchase history and repurchase intervals.
Instructions
The shopping list. Two ways onto it:
The user said they were out (
correct_stock(item, 0)) — ranked first, because an observation beats an estimate.Inference: >= 3 distinct purchase dates, past the median repurchase interval, excluding items past 3x median (presumed discontinued).
Sorted by overshoot ratio, highest first.
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": "what_should_i_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |