# Claim Item in Letter

{% hint style="info" %}
**This instruction requires Game Creator 2 Inventory.**&#x20;

If Inventory is detected when Mailbox is installed, the integration will be installed automatically. If you install Inventory afterward, you can manually trigger the integration check via the Unity toolbar: **Game Creator > Mailbox > Detect and Install Integrations**
{% endhint %}

```
Mailbox > Claim item In Letter
```

## Description

```csharp
Claims an item at a specific index in a Letter, adds it to a Bag with the set amount, and sets its properties
```

## Parameters <a href="#parameters" id="parameters"></a>

<table><thead><tr><th>Name</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>Letter</td><td>The letter containing the item to claim</td><td></td></tr><tr><td>Mailbox</td><td>The Game Object with the mailbox component.</td><td></td></tr><tr><td>Item Index</td><td>The index of the item to claim (0-based)</td><td></td></tr><tr><td>Bag</td><td>The Bag where the item will be added</td><td></td></tr></tbody></table>

## Keywords

```
Claim, Item, Letter, Mailbox, Inventory
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fullscreen.no/info/game-creator-2-assets/mailbox/instructions/claim-item-in-letter.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
