Back
AnthropicClaude API
The Python, TypeScript, Go, Java, Ruby, PHP, and C# SDKs now include support for code_execution_20260120,…
AI summary
Written by AI from the official notes. Check them for exact details.Several SDKs now support the new code execution tool version with enhanced features.
- Support for code_execution_20260120 added to multiple SDKs.
- Includes REPL state persistence for improved coding experience.
- Minimum version for programmatic tool calling established.
Why it matters: Developers using these SDKs should update to leverage new code execution capabilities.
Full release notes
- The Python, TypeScript, Go, Java, Ruby, PHP, and C# SDKs now include support for
code_execution_20260120, the code execution tool version that adds REPL state persistence and is the minimum version for programmatic tool calling. To adopt it, set the tool'stypetocode_execution_20260120; no beta header is required. It's available on Claude Fable 5, Claude Mythos 5, Claude Opus 4.5 and newer, and Claude Sonnet 4.5 and newer; see the code execution tool's Compatibility section.