Runs a shell command in an isolated one-shot sandbox and returns stdout, stderr
execute-commandRuns a shell command in an isolated one-shot sandbox and returns stdout, stderr and the exit code (Daytona ExecuteRequest/ExecuteResponse compatible) Price: $0.002 a call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory, relative to the run's work directory | |
| env | No | Environment variables; keys must match [A-Za-z_][A-Za-z0-9_]* (Daytona's rule) | |
| files | No | Text files written into the work directory before the run (up to 50, 1 MB each, 4 MB total) | |
| command | Yes | The shell command to run (up to 64 KB) | |
| outputs | No | Relative paths to read back after the run (up to 20); up to 1 MB each comes back base64 in outputFiles, larger in tooLargeOutputs, absent in missingOutputs | |
| timeout | No | Run timeout in seconds, 1-120 (default 60); a timed-out run answers exitCode 124 |