Ask a question to get started
Enter to send•Shift+Enter new line
Execute a shell command in the sandbox environment.
Simplified interface optimized for LLM consumption.
execute( self, command: str, *, timeout: int | None = None ) -> ExecuteResponse
command
str
Full shell command string to execute.
timeout
int | None
None
Maximum time in seconds to wait for the command to complete.
If None, uses the backend's default timeout.
Callers should provide positive integer values for portable behavior across backends.