Header menu logo Nao

SandboxConfig Type

Configuration for the execution sandbox

Record fields

Record Field Description

AllowFileSystem

Full Usage: AllowFileSystem

Field type: bool

Whether the agent can access the filesystem

Field type: bool

AllowNetwork

Full Usage: AllowNetwork

Field type: bool

Whether the agent can access the network

Field type: bool

AllowedPaths

Full Usage: AllowedPaths

Field type: string list

Allowed filesystem paths (only relevant if AllowFileSystem is true)

Field type: string list

EnvironmentVariables

Full Usage: EnvironmentVariables

Field type: Map<string, string>

Environment variables available to the agent

Field type: Map<string, string>

Isolation

Full Usage: Isolation

Field type: SandboxIsolation

Isolation level

Field type: SandboxIsolation

Limits

Full Usage: Limits

Field type: ResourceLimits

Resource budget for this execution

Field type: ResourceLimits

WorkingDirectory

Full Usage: WorkingDirectory

Field type: string option

Working directory for file operations (if any)

Field type: string option

Static members

Static member Description

SandboxConfig.Default

Full Usage: SandboxConfig.Default

Returns: SandboxConfig
Returns: SandboxConfig

SandboxConfig.Restricted(limits)

Full Usage: SandboxConfig.Restricted(limits)

Parameters:
Returns: SandboxConfig
limits : ResourceLimits
Returns: SandboxConfig

Type something to start searching.