Built-in Code Execution & Web Fetch — Code Execution & Web Tools
Built-in Code Execution & Web Fetch
GA Code Execution, Web Fetch & Agent Skills
Anthropic's GA Code Execution tool (code_execution_20250825 / code_execution_20260120, no beta header required) gives Claude a stateful, sandboxed Bash + Python container to execute calculations, analyze Files API uploads, and generate downloadable artifacts.
Combining Code Execution, Web Search & Web Fetch
You can combine code_execution_20250825, web_search_20250305, and Web Fetch (web_fetch_20250910 / web_fetch_20260209 with dynamic sandbox filtering) alongside container.skills in a single Messages API request—allowing Claude to retrieve full URLs, filter noisy HTML in Python before it enters context, and return verified metrics.
Stop asking Claude to 'imagine' computation results. Enable the built-in code execution tool so it actually runs Python in the sandbox - then combine it with web search in one request.