Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 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.238, published an hour before 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+3added
Lines−5removed
From line 275 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 275, old and new numbered
/
lines
from line 275
275275 
276276### Upload and analyze your own files
277277 
278To analyze your own data files (such as CSV, Excel, or images), upload them through the Files API and reference them in your request:
278To analyze your own data files (such as CSV, Excel, or images), upload them through the Files API and reference them in your request.
279279 
280<Note>
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.
282</Note>
283 
284280The Python environment can process various file types uploaded through the Files API, including:
285281 
286282* CSV
from line 505
509505 ```
510506 
511507 ```php PHP
508 // The PHP SDK exposes the Files API under the beta namespace; field names can differ from other SDKs.
512509 $client = new Client();
513510 
514511 // Upload a file
from line 807
810807 ```
811808 
812809 ```php PHP
810 // The PHP SDK exposes the Files API under the beta namespace; field names can differ from other SDKs.
813811 $client = new Client();
814812 
815813 // Request code execution that creates files
Feedback