> For the complete documentation index, see [llms.txt](https://laot7490.gitbook.io/ltbridge/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://laot7490.gitbook.io/ltbridge/game-systems/inventory/get-player-inventory.md).

# GetPlayerInventory

Returns player inventory as table.

{% hint style="info" %}
**Side:** Server · **Category:** Inventory · **API:** `LT.Inventory.GetPlayerInventory`
{% endhint %}

## Example

```lua
local result = LT.Inventory.GetPlayerInventory(source)
```

## Parameters

| Name     | Required | Description   |
| -------- | -------- | ------------- |
| `source` | Yes      | Player source |

## Returns

* `table {name,label?,weight?,description?,count,slot,metadata}`
