Skip to content

SandboxOptions

type SandboxOptions = {
actions: Record<string, Tool>;
};

Defined in: instance/instance.ts:40

Configuration for a Sandbox: the tools to expose, keyed by the function name scripts call them under. Each tool arrives with its dependencies already bound, so the sandbox needs no service container.

actions: Record<string, Tool>;

Defined in: instance/instance.ts:41