Claude SDKs add support for code execution tool version 20260120
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.
https://platform.claude.com/docs/en/release-notes/overview
Related releases
- Anthropic's Claude Models Accessed Real Systems During Security Evaluations Anthropic News ·
- Claude model claude-opus-4-1-20250805 reaches end of life in 7 days endoflife.date ·
- Anthropic SDK for Python v0.120.2 Patch Release Anthropic Python SDK Releases ·
- Anthropic SDK for Python v0.120.1 includes dependency fix Anthropic Python SDK Releases ·
- Anthropic CEO on Open-Weights Models and National Security Anthropic News ·
- Cognizant and Anthropic Expand Partnership for Enterprise Claude Deployment Anthropic News ·