One change
code-execution-tool
agents-and-tools/tool-use/code-execution-tool
Nearest release: v2.1.237, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
agents-and-tools/tool-use/code-execution-tool Changed · +1 / -1 lines
from line 278
To analyze your own data files (such as CSV, Excel, or images), upload them through the Files API and reference them in your request: <Note> - Using the Files API with code execution requires the Files API beta header: `"anthropic-beta": "files-api-2025-04-14"` + This workflow doesn't require a beta header: uploading and downloading files through the Files API and referencing them in `container_upload` blocks are all generally available. The examples on this page send `anthropic-beta: files-api-2025-04-14`, which the API accepts but doesn't require. </Note> The Python environment can process various file types uploaded through the Files API, including: