ERP: Stock recount
erp_stock_recountSet the stock of ONE catalog item to what was actually counted (a stocktake / «перерахував, є 14»): 'quantity' is the counted amount in the item's base unit. 'item' and 'warehouse' as in erp_stock_adjust (several matches → refused with candidates; ask, never guess). 'reason' goes to the stock history. Proposed write: the person confirms a line naming the item, the warehouse and before → after. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.
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": {
"item": "<item>",
"quantity": "<quantity>"
},
"name": "erp_stock_recount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| reason | No | ||
| quantity | Yes | ||
| warehouse | No |