anthropic Claude Platform Release Notes ·

Claude SDKs add support for code execution tool version 20260120

aipreviewengineer
feature

The Python, TypeScript, Go, Java, Ruby, PHP, and C# SDKs now support the `code_execution_20260120` tool version. This update enhances tool usage by enabling REPL state persistence and is the minimum version required for programmatic tool calling. The feature is available on specific Claude model versions and requires setting the tool's type accordingly.

  • SDKs now support code execution tool with REPL state persistence
  • Model and version compatibility for new code execution tool
Features (1)
  • SDKs now support code execution tool with REPL state persistence

    The Python, TypeScript, Go, Java, Ruby, PHP, and C# SDKs now support `code_execution_20260120`, which adds REPL state persistence and is the minimum version for programmatic tool calling. Users can adopt this by setting the tool's `type` to `code_execution_20260120`.

Notes (1)
  • Model and version compatibility for new code execution tool

    The new code execution tool version is available on Claude Fable 5, Claude Mythos 5, Claude Opus 4.5 and newer, and Claude Sonnet 4.5 and newer. No beta header is required for adoption.

Read the original announcement →

https://platform.claude.com/docs/en/release-notes/overview