Interface: SandboxExecutionRequest
Defined in: packages/agentos/src/emergent/types.ts:170
Input to the sandbox executor for running a single sandboxed tool invocation.
Properties
allowlist
allowlist:
SandboxAPI[]
Defined in: packages/agentos/src/emergent/types.ts:184
APIs the sandbox is permitted to call. Anything not listed is blocked.
code
code:
string
Defined in: packages/agentos/src/emergent/types.ts:174
Source code of the sandboxed module (same format as SandboxedToolSpec.code).
input
input:
unknown
Defined in: packages/agentos/src/emergent/types.ts:179
The argument object passed to the run(input) entry point.
memoryMB
memoryMB:
number
Defined in: packages/agentos/src/emergent/types.ts:191
Maximum heap memory in megabytes the sandbox process may consume. The executor terminates the process if this limit is exceeded.
Default
128
timeoutMs
timeoutMs:
number
Defined in: packages/agentos/src/emergent/types.ts:198
Maximum wall-clock time in milliseconds before the sandbox is forcibly killed and an error is returned.
Default
5000