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.280, published under 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+19added
Lines−18removed
From line 10 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 10, old and new numbered
/
lines
from line 10
1010 - claude-mythos-5-1
1111 - claude-fable-5
1212 - claude-mythos-5
13 - claude-opus-5-5
1314 - claude-opus-5
1415 - claude-opus-4-8
1516 - claude-opus-4-7
from line 53
5253 --header "anthropic-version: 2023-06-01" \
5354 --header "content-type: application/json" \
5455 --data '{
55 "model": "claude-opus-5",
56 "model": "claude-opus-5-5",
5657 "max_tokens": 4096,
5758 "messages": [
5859 {
from line 87
8687 
8788 ```bash CLI
8889 ant messages create <<'YAML'
89 model: claude-opus-5
90 model: claude-opus-5-5
9091 max_tokens: 4096
9192 messages:
9293 - role: user
from line 118
117118 client = anthropic.Anthropic()
118119 
119120 response = client.messages.create(
120 model="claude-opus-5",
121 model="claude-opus-5-5",
121122 max_tokens=4096,
122123 messages=[
123124 {
from line 150
149150 const client = new Anthropic();
150151 
151152 const response = await client.messages.create({
152 model: "claude-opus-5",
153 model: "claude-opus-5-5",
153154 max_tokens: 4096,
154155 messages: [
155156 {
from line 191
190191 
191192 var parameters = new MessageCreateParams
192193 {
193 Model = Model.ClaudeOpus5,
194 Model = Model.ClaudeOpus5_5,
194195 MaxTokens = 4096,
195196 Messages = [
196197 new() {
from line 226
225226 client := anthropic.NewClient()
226227 
227228 response, err := client.Messages.New(context.TODO(), anthropic.MessageNewParams{
228 Model: anthropic.ModelClaudeOpus5,
229 Model: anthropic.ModelClaudeOpus5_5,
229230 MaxTokens: 4096,
230231 Messages: []anthropic.MessageParam{
231232 anthropic.NewUserMessage(anthropic.NewTextBlock("Query sales data for the West, East, and Central regions, then tell me which region had the highest revenue")),
from line 263
262263 AnthropicClient client = AnthropicOkHttpClient.fromEnv();
263264 
264265 MessageCreateParams params = MessageCreateParams.builder()
265 .model(Model.CLAUDE_OPUS_5)
266 .model(Model.CLAUDE_OPUS_5_5)
266267 .maxTokens(4096L)
267268 .addUserMessage("Query sales data for the West, East, and Central regions, then tell me which region had the highest revenue")
268269 .addTool(CodeExecutionTool20260120.builder().build())
from line 296
295296 messages: [
296297 ['role' => 'user', 'content' => 'Query sales data for the West, East, and Central regions, then tell me which region had the highest revenue'],
297298 ],
298 model: 'claude-opus-5',
299 model: 'claude-opus-5-5',
299300 tools: [
300301 [
301302 'type' => 'code_execution_20260120',
from line 327
326327 client = Anthropic::Client.new
327328 
328329 message = client.messages.create(
329 model: "claude-opus-5",
330 model: "claude-opus-5-5",
330331 max_tokens: 4096,
331332 messages: [
332333 {
from line 531
530531 --header "anthropic-version: 2023-06-01" \
531532 --header "content-type: application/json" \
532533 --data '{
533 "model": "claude-opus-5",
534 "model": "claude-opus-5-5",
534535 "max_tokens": 4096,
535536 "container": "container_xyz789",
536537 "messages": [
from line 601
600601 
601602 ```bash CLI
602603 ant messages create <<'YAML'
603 model: claude-opus-5
604 model: claude-opus-5-5
604605 max_tokens: 4096
605606 container: container_xyz789
606607 messages:
from line 656
655656 
656657 ```python Python
657658 response = client.messages.create(
658 model="claude-opus-5",
659 model="claude-opus-5-5",
659660 max_tokens=4096,
660661 container="container_xyz789", # Reuse the container
661662 messages=[
from line 723
722723 
723724 ```typescript TypeScript
724725 const response = await client.messages.create({
725 model: "claude-opus-5",
726 model: "claude-opus-5-5",
726727 max_tokens: 4096,
727728 container: "container_xyz789", // Reuse the container
728729 messages: [
from line 799
798799 
799800 var parameters = new MessageCreateParams
800801 {
801 Model = Model.ClaudeOpus5,
802 Model = Model.ClaudeOpus5_5,
802803 MaxTokens = 4096,
803804 Container = "container_xyz789",
804805 Messages =
from line 875
874875 client := anthropic.NewClient()
875876 
876877 response, err := client.Messages.New(context.TODO(), anthropic.MessageNewParams{
877 Model: anthropic.ModelClaudeOpus5,
878 Model: anthropic.ModelClaudeOpus5_5,
878879 MaxTokens: 4096,
879880 Container: anthropic.MessageCreateParamsContainerUnion{
880881 OfString: anthropic.String("container_xyz789"),
from line 950
949950 AnthropicClient client = AnthropicOkHttpClient.fromEnv();
950951 
951952 MessageCreateParams params = MessageCreateParams.builder()
952 .model(Model.CLAUDE_OPUS_5)
953 .model(Model.CLAUDE_OPUS_5_5)
953954 .maxTokens(4096L)
954955 .container("container_xyz789")
955956 .addUserMessage("Query customer purchase history from the last quarter and identify our top 5 customers by revenue")
from line 1049
10481049 ],
10491050 ],
10501051 ],
1051 model: 'claude-opus-5',
1052 model: 'claude-opus-5-5',
10521053 container: 'container_xyz789',
10531054 // Same tools array as the original request
10541055 tools: [
from line 1084
10831084 client = Anthropic::Client.new
10841085 
10851086 message = client.messages.create(
1086 model: "claude-opus-5",
1087 model: "claude-opus-5-5",
10871088 max_tokens: 4096,
10881089 container: "container_xyz789",
10891090 messages: [