> 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/add-item.md).

# AddItem

Add item to player.

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

## Example

```lua
local success = LT.Inventory.AddItem(source, 'water', 1, nil, { durability = 100 })
```

## Parameters

| Name       | Required | Description              |
| ---------- | -------- | ------------------------ |
| `source`   | Yes      | Player source            |
| `item`     | Yes      | Item name                |
| `count`    | No       | Item count (default: 1)  |
| `slot`     | No       | Item slot (optional)     |
| `metadata` | No       | Item metadata (optional) |

## Returns

* `boolean`
