# folder_create

Creates a folder in the bot's inventory.

```csharp
// See "LSL Helper Functions" page for this function
smartbotsAPI("folder_create", [
  "parent", "b572d860-c5cf-e023-a6b2-408f30266acc",
  "name", "My folder"
]);
```

```snippet http-api-variables-OmJyUigTgO
```

```snippet http-api-input-basic-parameters-5FcVlaJbq0 action="folder_create"
```

```snippet http-api-input-q5yvAagqsZ
name   | yes      | Name of the folder
parent | optional | UUID of an existing folder where the folder will be created.<br>If left blank, the folder will be created in the bot’s inventory root.
```

```snippet http-api-output-JAwUcmg7i7
uuid | The UUID of the newly created folder
```

# Example

Create a folder in the given parent folder UUID.

(The example uses the `smartbotsAPI()` helper function. Set your `apikey`, `botname`, and `secret` in that function.)

```csharp
// See "LSL Helper Functions" page for this function
smartbotsAPI("folder_create", [
  "parent", "b572d860-c5cf-e023-a6b2-408f30266acc",
  "name", "My folder"
]);
```