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.307, 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+2added
Lines−2removed
From line 295 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 295, old and new numbered
/
lines
from line 295
295295 -H "anthropic-version: 2023-06-01" \
296296 -F "[email protected]"
297297 
298 # Then use the file with code execution: FILE_ID is the id from the upload response
298 # Then use the file with code execution: FILE_ID is the ID from the upload response
299299 curl --fail-with-body -sS https://api.anthropic.com/v1/messages \
300300 -H "x-api-key: $ANTHROPIC_API_KEY" \
301301 -H "anthropic-version: 2023-06-01" \
from line 321
321321 # First, upload a file
322322 ant files upload --file ./data.csv
323323 
324 # Then use the file with code execution: FILE_ID is the id from the upload response
324 # Then use the file with code execution: FILE_ID is the ID from the upload response
325325 ant messages create <<YAML
326326 model: claude-opus-5-5
327327 max_tokens: 4096
Feedback