inventory_getItemLedgerActivity

READ

Get item ledger activity.

Parameters

itemIdstringrequired
locationIdstringrequired
omit to start from the newest entry. */ entryNumbernumberoptional
directionenumoptional
/** include the cursor row itself (used for the anchored first load). */ inclusivebooleanoptional

Call it

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

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

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "itemId": {
      "type": "string"
    },
    "locationId": {
      "type": "string"
    },
    "omit to start from the newest entry. */\n    entryNumber": {
      "type": "number"
    },
    "direction": {
      "type": "string",
      "enum": [
        "older",
        "newer"
      ]
    },
    "/** include the cursor row itself (used for the anchored first load). */\n    inclusive": {
      "type": "boolean"
    }
  },
  "required": [
    "itemId",
    "locationId"
  ]
}