intellibrix v1.0.0
    Preparing search index...

    Type Alias SandboxTool

    SandboxTool: ToolDefinition & {
        closeAll(): Promise<void>;
        closeRun(runId: string): Promise<void>;
    }

    The run_code tool plus lifecycle controls for its per-run sandbox cache.

    Type Declaration

    • closeAll: function
      • Closes every cached sandbox.

        Returns Promise<void>

    • closeRun: function
      • Closes the sandbox cached for runId, if any. Call when a run finishes.

        Parameters

        • runId: string

        Returns Promise<void>