runwaystock
v0.2.0Find what to reorder, stockout dates and dead stock from sales and stock CSVs, on your machine.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
inventory_check Check stock and reorder points
Works out what to reorder and how much from a sales CSV and a stock CSV, with reorder points, safety stock, stockout dates and dead stock. Use for inventory planning, purchase orders, or finding slow-moving stock. Read-only, and never uses the network. Results include SKUs and quantities from the files, so they reach the model. It can't place orders.
| Parameter | Type | Description |
|---|---|---|
sales_path * | string | Path to the sales or orders CSV |
stock_path * | string | Path to the stock count CSV |
cover_days | null | number | Days of sales each order should cover, default 30 |
date_format | string | dmy or mdy, needed only if the tool reports that dates are ambiguous |
lead_days | null | number | Days from ordering to receiving, default 14. A lead time in the stock file overrides it |
limit | null | integer | Most SKUs to return, most urgent first, default 100. 0 returns only the totals |
sales_columns | object | Column names by field (date, sku, qty), when detection fails |
service_level | null | integer | Chance of not running out during lead time: 90, 95 or 99, default 95 |
stock_columns | object | Column names by field (sku, qty, lead, cost, moq), when detection fails |
window_days | null | integer | Days of recent sales to use, default 90 |
inventory_inspect_csv Inspect a sales or stock CSV
Shows which columns runwaystock detects in a CSV and how many rows it can read, without returning row contents. Use if a file is unfamiliar or a check failed.
| Parameter | Type | Description |
|---|---|---|
kind * | string | sales or stock |
path * | string | Path to the CSV |