Assign / move item
assign_itemAssign or move an item: set its current location, current holder, responsible person or home location. An omitted field stays unchanged; null clears the current location or the current holder. The home location and the responsible person can never be cleared (every item has both); the literal "default" for responsiblePersonId removes the override, and the item follows its category's or the organization's default again. Both PERSON fields take the literal "me" for the connected user's own person record (the same shorthand as in search_items). Returns the updated item. Setting a holder on an item with open tickets, overdue maintenance or the status defect or in_repair writes nothing and returns { requiresAcknowledgment: true, warnings } (warnings.itemStatus names the status); the same call with acknowledgeWarnings: true performs it. Setting a holder on an item that an active order requests (not yet picked) returns { requiresAcknowledgment: true, requested }; the same call with acknowledgeRequested: true performs it. Setting a current location or holder on a packed item unpacks it first. Requires the manager role: a member cannot assign anything, not even to themselves with "me". Idempotent: unchanged values change 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": {
"itemId": "<itemId>"
},
"name": "assign_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | Item id | |
| homeLocationId | No | Location resource id (cannot be cleared) | |
| currentHolderId | No | Person resource id who borrows the item, the literal "me" for the connected user, or null to clear | |
| currentLocationId | No | Location resource id, or null to clear | |
| acknowledgeWarnings | No | true performs the call despite the warnings a previous requiresAcknowledgment result named | |
| responsiblePersonId | No | Person resource id, the literal "me" for the connected user, or the literal "default" to hand the item back to the category/organization default chain. It cannot be cleared | |
| acknowledgeRequested | No | true performs the assignment despite the active order requests a previous requiresAcknowledgment result named |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Item id | |
| name | No | Item name | |
| status | No | Condition: available | in_repair | defect | lost | retired ("available" means not defect/lost/retired — the item may still be borrowed) | |
| webUrl | No | Link to this item in the web app, for a person to open. Absent when the deployment has no public address configured | |
| isDraft | No | Present and true only for an unfinished draft capture | |
| modelId | No | The item's model — pass it as create_order lines[].modelId to order any instance of this model | |
| category | No | Category name | |
| quantity | No | How many this row stands for — only on quantity-tracked pools. To count a pool, SUM this; to count serialized items, count rows | |
| warnings | No | Open tickets / overdue maintenance behind a requires-ack round | |
| container | No | The container this item is packed into, if any | |
| modelName | No | The model's name | |
| requested | No | The active orders that requested this item (.orders names them) | |
| compartment | No | The compartment of that container the item sits in (absent = directly in the container) | |
| description | No | Item description | |
| instruction | No | Which acknowledge flag performs the call | |
| primaryCode | No | The code printed on the item's asset tag — how a human tells two identical models apart. Absent when no code is attached | |
| homeLocation | No | Where the item belongs | |
| trackingMode | No | "quantity" for a stock pool counted by amount. Absent = a serialized item, i.e. this row IS one physical thing | |
| contentsCount | No | Direct contents count — containers only | |
| currentHolder | No | Person currently holding it | |
| currentLocation | No | Where the item is now | |
| effectiveHolder | No | Holder followed through the container chain | |
| effectiveLocation | No | Location followed through the container chain | |
| responsiblePerson | No | Person responsible | |
| requiresAcknowledgment | No | Present and true when nothing was written because of what this result names; the SAME call with the acknowledge flag named in `instruction` performs it |