Inventory shrinkage check
wever_inventory-shrinkage-checkAgent Inventory: submit a shrinkage record with the loss, count and sales records it answers to: the shrinkage record with its reference, its first and last day, currency, the write-off value above which an approval must be named, each write-off with the item, category, location, units, value, day, the loss record it rests on and who approved it, and each explanation recorded for a category or location; the loss records with each reference and cause; optionally the count variances with each item, location and units counted less stock on hand, and the sales periods with each first and last day, units sold and shrinkage units recorded. The signed report gives the shrinkage record, each write-off against the loss record it rests on, each write-off above the approval threshold against the approval it names, the shrinkage spread over the categories and locations against the explanations recorded, and the sales periods against the shrinkage recorded in them, and counts them, and names a divergent shrinkage record: a loss written off with no loss record, a write-off above the stated threshold with no approval named, shrinkage concentrated in one category or location with no explanation recorded, and periods with sales but no shrinkage ever recorded; then a count shortfall with no write-off and a write-off dated outside the period, with the fix for each and what would change the verdict. No write-offs, no approval threshold or write-off values, no category or location on each of three or more write-offs, or fewer than two sales periods with units sold leaves those points unverified. Loss records match by their references read as letters and digits, items by their SKU or their words, and categories and locations by their words; shrinkage is concentrated when one category or location carries 60 percent or more of it, by value or else by units, over three or more write-offs in two or more groups; amounts compare to the cent, units to the hundredth and dates by the day. This reads whether stock losses are recorded and supported, against the counts and sales they should show in. Verdict inventory_shrinkage_divergent, inventory_shrinkage_partial, inventory_shrinkage_unverified or inventory_shrinkage_consistent. POST /api/inventory-shrinkage-check. Reads the inventory records supplied in the call and returns a signed report with the verdict, the evidence read, the findings with their fixes, and what would change the verdict; it reads the records as supplied only: it never moves stock, never places or cancels an order, never writes to anyone’s inventory system and never adjusts a record, which stay with the business and its staff, and the records stay in the report, with no network request, fetch, message, payment or external write. Agent Inventory reads inventory records: a stock count, receiving records, shrinkage and loss records, a stock adjustment log, an inventory valuation, reorder records, a dead stock record and consignment stock records, each against the system stock record, the purchase or consignment orders, the count and sales records, the count and the period close, the counts and purchase records, the stock levels and lead times, the movement window and period report, or the sale and settlement records it answers to. The family checks whether the stock record can be trusted; the Agent Bookkeeping family reads the ledger the stock feeds, and the boutique tools act on one store’s orders. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-inventory-contract. Human page: https://weverlabs.com/agent-inventory/.
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": {
"shrinkage": "<shrinkage>",
"loss_records": "<loss_records>"
},
"name": "wever_inventory-shrinkage-check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional name recorded in the report. | |
| shrinkage | Yes | ||
| loss_records | Yes | Each loss record. | |
| sales_periods | No | Each sales period. | |
| count_variances | No | Each count variance. |