View stock transfer
hub_get_stock_transferONE transfer in full: both outlets, the employee, the invoice, the notes and the line items with quantities. Takes the transactionId AND the type exactly as get_stock_transfers returned them — the type decides which leg is read, and a wrong one fails. For send-transfer and receive-transfer this also returns the sibling leg, so you can name where the stock came from and where it is going, plus stockTransferId, which is what receive_stock_transfer needs. Line quantities are the amounts MOVED, recorded when the transfer was created — they are not current stock. Use get_stock for that.
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": {
"transactionId": "<transactionId>",
"type": "<type>"
},
"name": "hub_get_stock_transfer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The same type get_stock_transfers reported for that row | |
| transactionId | Yes | transactionId from get_stock_transfers |