rr_list_stockout_risks
Identify SKUs at risk of stocking out, with risk levels, days to stockout, sales velocity, and planner-recommended order quantities to prioritize replenishment.
Instructions
Get stockout risk assessment for SKUs. Returns risk levels, days to stockout, velocity, and planned_order: the quantity the PO planner suggests ordering (use planned_order.qty, not suggested_qty). A row with planned_order null and a name_review_hold has an order waiting on the supplier name review, which is not the same as no order suggested. Only positions the planner could evaluate are listed: products without enough sales history and products excluded from planning are left out, so absence from this list, or an empty list, is not evidence that stock is healthy.
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": "rr_list_stockout_risks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | Optional SKU filter | |
| limit | No | Rows per page (default 100, max 500). | |
| cursor | No | next_cursor from the previous page. Pass it with the same other inputs until has_more is false. | |
| store_id | No | Optional store ID filter | |
| risk_level | No | Filter: critical, high, medium, low |