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

# Open inventory

> Opens an inventory alongside the player's inventory.

Opens an inventory alongside the player's inventory.

<CodeGroup>
  ```lua Export theme={null}
  exports['jaksam_inventory']:openInventory(inventoryId)
  ```

  ```lua Example theme={null}
  -- Open a stash inventory
  exports['jaksam_inventory']:openInventory('police_stash_1')

  -- Open a trunk inventory
  exports['jaksam_inventory']:openInventory('car_trunk_123')
  ```
</CodeGroup>

### Parameters

| Name          | Data Type | Description                     |
| ------------- | --------- | ------------------------------- |
| `inventoryId` | string    | The ID of the inventory to open |

### Return value

None. Opens the inventory UI if successful.


## Related topics

- [Force open inventory](/jaksam-inventory/functions/server/force-open-inventory.md)
- [Action Buttons](/jaksam-inventory/guides/action-buttons.md)
- [Client](/jaksam-inventory/functions/client/index.md)
- [Weapon Attachments](/jaksam-inventory/guides/weapon-attachments.md)
- [Server](/jaksam-inventory/functions/server/index.md)
