Receive stock transfer
hub_receive_stock_transferConfirm that a transfer arrived: the destination outlet gains the units and the transfer closes. CONFIRM WITH THE MERCHANT FIRST — this adds stock and cannot be undone from here. Only do it when they say the goods are physically there; confirming a transfer that never arrived hides a loss instead of recording one. Takes stockTransferId (from get_stock_transfer), NOT the transactionId. Only applies to a receive-transfer leg still in-transit; a transfer already completed has nothing left to receive.
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": {
"stockTransferId": "<stockTransferId>"
},
"name": "hub_receive_stock_transfer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stockTransferId | Yes | stockTransferId from get_stock_transfer — not the transactionId |