Daytona icon

Daytona

Manage Daytona sandboxes, snapshots, and volumes; run code and shell commands; drive a full Git pipeline; and manage the sandbox filesystem

File → Create Folder

AI-generated

Summary

Create a new folder at an absolute path inside a specified Daytona sandbox with configurable Unix-style octal permissions.

Inputs

  • Sandbox ID (required) — ID of the sandbox to create the folder in
  • Path (required) — Absolute path inside the sandbox where the folder should be created
  • Mode (required) — Unix-style octal permissions for the new folder (e.g. '0755' for rwxr-xr-x, '0700' for owner-only)

Output shape

a single JSON object

Returns a JSON object containing success status, sandbox ID, the path of the created folder, and the mode used.

Examples

Example 1: Create a folder '/home/daytona/new-folder' in sandbox 'sandbox-123' with permissions '0755'

sandboxId: 'sandbox-123', path: '/home/daytona/new-folder', mode: '0755'

Links

Discussion