recommend_replenishment
Calculates a reorder quantity by forecasting demand for a SKU and applying a reorder-point formula to current on-hand stock. Enter the SKU and current inventory to get an order recommendation.
Instructions
Recommend a reorder quantity for a SKU: forecasts demand, then applies a reorder-point / safety-stock formula against current on-hand stock.
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": {
"unique_id": "<unique_id>",
"current_stock": "<current_stock>"
},
"name": "recommend_replenishment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| horizon | No | days of demand to forecast for the calculation (default 14). | |
| unique_id | Yes | SKU identifier. | |
| current_stock | Yes | units currently on hand. | |
| service_level | No | target service level, e.g. 0.95 for 95% (default 0.95). | |
| lead_time_days | No | supplier lead time in days (default 7). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||