check_inventory
Query stock levels by SKU and warehouse, flag low-stock items, and see open purchase orders to guide replenishment decisions.
Instructions
Check stock levels per SKU and warehouse, including low-stock flags and any open purchase order.
Args:
sku: SKU ID ("SKU-107") or product name fragment ("insulin", "gloves"). Empty = all SKUs.
warehouse_id: Warehouse ID ("WH-BLR"), code ("BLR") or city ("Bangalore"). Empty = all warehouses.
low_stock_only: If true, only lines at or below their reorder point.
Returns:
{"status": "ok", "count", "low_stock_count", "items": [{sku, name, warehouse_id, qty_on_hand,
reorder_point, shortfall, low_stock, open_po, ...}]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | ||
| warehouse_id | No | ||
| low_stock_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||