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

Process results programmatically changed

agents-and-tools/tool-use/programmatic-tool-calling

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

The whole hunk

from line 249, old and new numbered
/
lines
from line 249
249249 if err != nil {
250250 log.Fatal(err)
251251 }
252 fmt.Println(response)
252 fmt.Println(response.RawJSON())
253253 ```
254254 
255255 ```java Java
from line 874
874874 response, err := client.Messages.New(context.TODO(), anthropic.MessageNewParams{
875875 Model: anthropic.ModelClaudeOpus5,
876876 MaxTokens: 4096,
877 Container: anthropic.MessageNewParamsContainerUnion{
877 Container: anthropic.MessageCreateParamsContainerUnion{
878878 OfString: anthropic.String("container_xyz789"),
879879 },
880880 Messages: []anthropic.MessageParam{
from line 936
936936 if err != nil {
937937 log.Fatal(err)
938938 }
939 fmt.Println(response)
939 fmt.Println(response.RawJSON())
940940 ```
941941 
942942 ```java Java