inventory_insertStockTransfer

WRITE

Create a stock transfer with lines. Generates sequence ID automatically..

Parameters

locationIdstringrequired
lines: Array<{ itemId: string; fromStorageUnitIdanyoptional
stockTransferIdstringoptional
customFieldsanyoptional

Call it

Invoke it through the call_tool meta-tool with its arguments:

call_tool
call_tool({
  "name": "inventory_insertStockTransfer",
  "arguments": {
    "locationId": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "locationId": {
      "type": "string"
    },
    "lines: Array<{\n      itemId: string;\n      fromStorageUnitId": {},
    "stockTransferId": {
      "type": "string"
    },
    "customFields": {}
  },
  "required": [
    "locationId"
  ]
}