inventory_alerts
Get one severity-prioritized feed of stock issues—low stock, anomalies, overdue stocktakes, valuation drift, near-expiry—with suggested actions. Filter by type or severity.
Instructions
Der einheitliche Alarm-Feed (unified alerts, US-J07.9): one tool an agent can poll for everything that currently needs attention. It merges low-stock, anomalies, overdue stocktakes, valuation drift and near-expiry lots into a single de-duplicated, severity-prioritised list, each alert carrying a stable alert_key (for optional future acknowledgement), type, severity, title, summary, entity refs, detected_at and a suggested_action hint (create_requisition, run_valuation, complete_stocktake, ...). Optional severity / types / limit filters. Pure computation; no persistent alert store in Phase 1. Empty is an ok empty list. Posts nothing.
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": {
"workspaceId": "<workspaceId>"
},
"name": "inventory_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| types | No | ||
| severity | No | ||
| thresholds | No | ||
| workspaceId | Yes |