Claude API adds Python code execution tool
aiengineer
feature
Anthropic's Claude API now supports a new tool for executing Python code within a secure sandbox. This feature allows Claude to perform computations and data analysis, enhancing its capabilities for developers and users. The tool is available now, with further details provided in the documentation.
Features (1) ›
- Secure Python code execution for Claude API
A new API tool has been introduced that enables Claude to execute Python code in a secure, sandboxed environment. This enhances Claude's ability to perform computations and analyses.
Read the original announcement →
https://support.claude.com/en/articles/12138966-release-notes
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 ·