react_agent.custom_tools.sandbox_tools.execute_in_sandbox
runtime.stream_writer back to the LangGraph execution environment so the user can observe
real-time compiler output via LanggraphCustomEventKeys.
Arguments:
sandbox_typeSandboxType - The target service architecture enum (e.g., DOTNET_10_SANDBOX).commandstr - The raw shell command or script to run.timeoutint - The execution timeout in seconds.env_varsdict[str, Any] | None - Dictionary of environment variables to inject.runtimeAnnotated[ToolRuntime, InjectedToolArg] - Injected tool runtime context.
DaytonaError- If communicating with the Daytona daemon fails.
react_agent.custom_tools.sandbox_tools.download_file_from_sandbox
sandbox_typeSandboxType - The target service architecture enum.remote_pathstr - The absolute path to the file on the remote container’s filesystem.runtimeAnnotated[ToolRuntime, InjectedToolArg] - Injected tool runtime context.
str- The UTF-8 decoded string content of the requested file.
DaytonaError- If the file does not exist or Daytona communication fails.