> ## Documentation Index
> Fetch the complete documentation index at: https://docs.borntocraftstudio.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Inventory Actions

> Manage player inventories, chests, and crafting screens.

Open custom menus or manage item storage directly.

## Configuration

### `clear_inventory_action`

Wipes the player's inventory.
<ResponseField name="includeArmor" type="Boolean" default="false">Delete armor slots?</ResponseField>
<ResponseField name="includeOffhand" type="Boolean" default="false">Delete offhand item?</ResponseField>

### `hat_action`

Places the item currently in the main hand onto the head slot.
<Info>No configuration needed.</Info>

### `disposal_action`

Opens a trash-can GUI. Items placed here are destroyed.
<ResponseField name="title" type="String" default="Disposal">Menu title.</ResponseField>
<ResponseField name="rows" type="Int" default="3">Size (1-6 rows).</ResponseField>

### `ender_chest_action`

Opens the player's own Ender Chest.
<Info>No configuration needed.</Info>

### `ender_chest_see_action`

Opens **another** player's Ender Chest (Admin/Moderation).
<ResponseField name="target" type="Var<String>">Name of the target player.</ResponseField>

### `inventory_see_action`

Opens **another** player's main inventory (Admin/Moderation).
<ResponseField name="target" type="Var<String>">Name of the target player.</ResponseField>

### `anvil_action` / `craft_action`

Opens the respective vanilla workbench GUIs.
<Info>No configuration needed.</Info>

## Example Usage

<CodeGroup>
  ```yaml Open Trash theme={null}
  disposal_action:
    title: "Trash Can"
    rows: 3
  ```

  ```yaml Inspect Player theme={null}
  inventory_see_action:
    target: "%target_name%"
  ```
</CodeGroup>
