Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
One change · api

code-execution-tool changed

agents-and-tools/tool-use/code-execution-tool

Nearest release: v2.1.274, published 7 hours 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+2added
Lines−2removed
From line 686 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits13to this page, all time

The whole hunk

from line 686, old and new numbered
/
lines
from line 686
686686 fileIDs := extractFileIDs(response)
687687 
688688 for _, fileID := range fileIDs {
689 fileMetadata, err := client.Files.GetMetadata(ctx, fileID)
689 fileMetadata, err := client.Files.GetMetadata(ctx, fileID, anthropic.FileGetMetadataParams{})
690690 if err != nil {
691691 log.Fatal(err)
692692 }
693693 
694 fileContent, err := client.Files.Download(ctx, fileID)
694 fileContent, err := client.Files.Download(ctx, fileID, anthropic.FileDownloadParams{})
695695 if err != nil {
696696 log.Fatal(err)
697697 }