ERP: Show stock levels
erp_stock_levelsWarehouse stock from the ERP with the EMPTIEST rows first: per item and warehouse, the quantity on hand, how much of it is reserved, and what is therefore actually available, plus company-wide counts of low and out-of-stock items. Pass status='out' or 'low' to see only what needs ordering; pass search (the item's name or number — the stem of a word, e.g. 'магні' for «скільки лишилось магнію») for one item. Answers 'what have we run out of', 'what is running low / що закінчується', 'how much X is left', 'do we have X in stock'. Read-only: to correct a quantity use erp_stock_adjust (add / write off) or erp_stock_recount (set what was counted); goods from a supplier's invoice go in with purchase_invoice_receive.
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": "erp_stock_levels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| search | No | Item name or number. | |
| status | No | Stock status filter (default all). |