# sm.container.getFirstItem

Returns a table containing item uuid, quantity (and instance id for tools) at first available slot

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.container.getFirstItem( container )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.container.md#getfirstitem)

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `container` | [Container](../Game-Script-Environment/Userdata/Container.md) | The container. |

**Returns:**

| Type | Description |
| --- | --- |
| table | Table containg item \{uuid = [Uuid](../Game-Script-Environment/Userdata/Uuid.md), instance = integer, quantity = integer\}. |
