inventory_lot_trace
Trace a lot or serial number to get its current location, quantity/status, and full chronological movement history. Verifiable inventory records for audit compliance.
Instructions
Die Chargen- / Seriennummern-Verfolgung (lot / serial trace, US-J07.7): given a lot_code or a serial_number (optionally disambiguated by item_id), return the current position(s) (location and remaining qty for a lot, current location and status for a serial) and the full chronological J02 movement history for that lot / serial. Supports the OR 957a duty to keep orderly, verifiable inventory records. A lot / serial that does not exist in this workspace answers a soft found:false (not a hard error, and never a cross-tenant leak). Reads only, posts nothing.
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": {
"workspaceId": "<workspaceId>"
},
"name": "inventory_lot_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | No | ||
| lot_code | No | ||
| workspaceId | Yes | ||
| serial_number | No |