Code Execution Tool The Code Execution tool runs Python in an Anthropic-hosted sandbox as part of a model response. Use it when you need the model to actually compute, not just describe. When to Use - Data analysis and transformation (CSV, JSON, parquet) - Chart and plot generation (matplotlib, plotly) - Math verification — let the model check its own work - Running unit tests the model just wrote - Any task where "the answer is whatever the code prints" Enabling No tool-use loop to manage — execution happens server-side and results flow back in the response. What's in the Sandbox - Python 3.…