langchain.js
    Preparing search index...

    Interface CodeInterpreterOptions

    Options for the Code Interpreter tool.

    interface CodeInterpreterOptions {
        container?: string | CodeInterpreterAutoContainer;
    }
    Index

    Properties

    Properties

    container?: string | CodeInterpreterAutoContainer

    The container configuration for the Code Interpreter.

    Can be either:

    • A string container ID for explicit mode (created via /v1/containers endpoint)
    • An auto configuration object that creates/reuses containers automatically

    If not provided, defaults to auto mode with default settings.