Skip to content

ItemDetails

One item instance of an inventory result.

definition: number

The item definition id, a number between 1 and 999999999.


flags: number

Status and action flags: 1 cannot be traded, 256 was removed (destroyed, traded away or expired), 512 was consumed by one consumeItem call.


itemId: bigint

The globally unique id of this item instance. It is a bigint because it can exceed 2^53, and it is never reused for another item.


quantity: number

The stack size of the item.

Turn ideas into shipped software.

HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Scenario makes the long run visible, so ideas become shipped software.

Smart
OpenSpec workflows turn intent into a path from proposal to shipped change.
Efficient
Multi-agent execution runs research, build, and review in parallel.
Fun
Rich UI interactions make planning, agent work, and projects easier to follow.