Get item
get_itemGet one inventory item by id: name, description, status, category and its four relations (home location, current location, current holder, responsible person) with resolved names, plus photoUrl, the item's main photo (absent when it has none). Hosts that render widgets draw the result as an item card; show_items draws several items. status is the item's CONDITION (available = not defect/lost/retired), so an available item may still be borrowed (currentHolder; check_item_availability has the full picture). Packed items (see pack_item) also carry container plus effectiveLocation/effectiveHolder, the position followed from the container while the item's own currentLocation/currentHolder are empty, and compartment { id, name } when they sit in one of the container's compartments (a named spot inside it, e.g. a vehicle's «GR4»; absent = directly in the container). Container items carry holdsItems: true, compartments [{ id, name }] in their order when they have any (the names pack_item's compartment takes), contentsCount, and packedStock when quantity-tracked stock sits inside them: [{ itemId, name, primaryCode?, quantity, compartmentName? }]. A quantity-tracked item whose units sit inside containers carries packed: one row per container and compartment { containerId, containerName, containerPath?, compartmentName?, quantity, effectiveLocationName?, effectiveHolderName? }; its quantity total counts them. This is the only tool that returns the item's custom field values (serial number, warranty, purchase price, whatever the organization defined): customFields, one entry per stored value with the org's own label, its type, the value, and fieldDefId, which joins it to the definitions get_item_requirements returns; a date value carries valueIso, the plain calendar day, and a currency value its currencyCode (absent = CHF). Values the connected user may not see are absent, not redacted. Drafts (unreviewed captures) are personal: another user's draft is not found even by id (standard not-found) until it is published.
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": "get_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | Item id |