Class BetaCodeExecutionTool20260120

  • All Implemented Interfaces:

    
    public final class BetaCodeExecutionTool20260120
    
                        

    A tools entry for the code execution tool, version code_execution_20260120. It adds REPL state persistence to version code_execution_20250825.

    REPL state persistence applies with programmatic tool calling. With it, the Python interpreter state, such as variable bindings, persists across requests that reuse the container.

    See the code execution tool guide to learn what each tool version adds.