Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

code-execution-tool changedagents-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.

Recorded here
Lines+1added
Lines−1removed
From line 278 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits23to this page, all time

The whole hunk

from line 278, old and new numbered
/
lines
from line 278
278278To analyze your own data files (such as CSV, Excel, or images), upload them through the Files API and reference them in your request:
279279 
280280<Note>
281 Using the Files API with code execution requires the Files API beta header: `"anthropic-beta": "files-api-2025-04-14"`
281 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.
282282</Note>
283283 
284284The Python environment can process various file types uploaded through the Files API, including:
Feedback