predict_stockout
Identify inventory items at risk of stockout based on current stock and recent daily demand. Provides days of stock remaining and risk levels to prioritize replenishment.
Instructions
Predict which inventory items are at risk of stockout based on current stock and recent daily demand. Returns days-of-stock-remaining per item with risk levels: critical (≤7 days), low (≤30), moderate (≤60), ok.
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": "predict_stockout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topN | No | Max items to return (default 50) | |
| demandDays | No | Days of sales history to derive daily demand (default 90) |