Skip to content

Daytona

IDdaytona
CategoryExecution
FeaturesNone
Dependenciessession_storage

Run code in cloud-based sandboxes powered by Daytona. Create multiple isolated Linux environments per session, execute commands, manage files, and download results.

Create and start a new sandbox.

ParameterTypeRequiredDescription
titlestringnoSandbox name
imagestringnoContainer image
upload_filesarraynoFiles to upload after creation

Run a shell command in a sandbox (synchronous).

ParameterTypeRequiredDescription
sandbox_idstringyesTarget sandbox
commandstringyesShell command to execute
cwdstringnoWorking directory
timeout_msintegernoTimeout in milliseconds

Read a file from a sandbox.

ParameterTypeRequiredDescription
sandbox_idstringyesTarget sandbox
pathstringyesFile path

Write a file to a sandbox.

ParameterTypeRequiredDescription
sandbox_idstringyesTarget sandbox
pathstringyesFile path
contentstringyesFile content

Download sandbox workspace to session storage.

ParameterTypeRequiredDescription
sandbox_idstringyesTarget sandbox

List all sandboxes for the current session.

Stop or delete a sandbox.

ParameterTypeRequiredDescription
sandbox_idstringyesTarget sandbox
actionstringyesstop or delete

Clone a git repository into a sandbox. Automatically uses connected GitHub credentials for private repos.

ParameterTypeRequiredDescription
sandbox_idstringyesTarget sandbox
urlstringyesRepository URL or user/repo shorthand
branchstringnoBranch to clone

Configure git credentials for push/pull/fetch.

ParameterTypeRequiredDescription
sandbox_idstringyesTarget sandbox

Daytona API key is resolved automatically:

  1. Session secret DAYTONA_API_KEY (highest priority)
  2. User connection (Settings > Connections > Daytona)
  • Code execution — run and test code in isolated Linux environments
  • Multi-language projects — use custom container images for any stack
  • Repository analysis — clone and explore repos in a sandbox
  • Build and test — compile, test, and package in clean environments
  • Each sandbox is a full isolated Linux environment with network access
  • Sandboxes auto-stop after 5 minutes of inactivity
  • Always delete sandboxes when done to free resources
  • All tools except daytona_create_sandbox and daytona_list_sandboxes require a sandbox_id