inventory_insertManualInventoryAdjustment

WRITE

Insert manual inventory adjustment.

Parameters

itemIdstringrequired
locationIdstringrequired
adjustmentTypeenumrequired
storageUnitIdstringoptional
originalStorageUnitIdstringoptional
quantitynumberoptional
trackedEntityIdstringoptional
readableIdstringoptional
expirationDatestringoptional
commentstringoptional

Call it

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

call_tool
call_tool({
  "name": "inventory_insertManualInventoryAdjustment",
  "arguments": {
    "itemId": "string",
    "locationId": "string",
    "adjustmentType": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "itemId": {
      "type": "string"
    },
    "locationId": {
      "type": "string"
    },
    "storageUnitId": {
      "type": "string"
    },
    "originalStorageUnitId": {
      "type": "string"
    },
    "adjustmentType": {
      "type": "string",
      "enum": [
        "...itemLedgerTypes",
        "Set Quantity"
      ]
    },
    "quantity": {
      "type": "number"
    },
    "trackedEntityId": {
      "type": "string"
    },
    "readableId": {
      "type": "string"
    },
    "expirationDate": {
      "type": "string"
    },
    "comment": {
      "type": "string"
    }
  },
  "required": [
    "itemId",
    "locationId",
    "adjustmentType"
  ]
}