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

search-results changed

build-with-claude/search-results

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+18added
Lines−18removed
From line 797 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits5to this page, all time

The whole hunk

from line 797, old and new numbered
/
lines
from line 797
797797 -H "anthropic-version: 2023-06-01" \
798798 -H "content-type: application/json" \
799799 -d '{
800 "model": "claude-opus-5",
800 "model": "claude-opus-5-5",
801801 "max_tokens": 1024,
802802 "messages": [
803803 {
from line 843
843843 
844844 ```bash CLI
845845 ant messages create <<'YAML'
846 model: claude-opus-5
846 model: claude-opus-5-5
847847 max_tokens: 1024
848848 messages:
849849 - role: user
from line 884
884884 
885885 # Provide search results directly in the user message
886886 response = client.messages.create(
887 model="claude-opus-5",
887 model="claude-opus-5-5",
888888 max_tokens=1024,
889889 messages=[
890890 MessageParam(
from line 931
931931 
932932 // Provide search results directly in the user message
933933 const response = await client.messages.create({
934 model: "claude-opus-5",
934 model: "claude-opus-5-5",
935935 max_tokens: 1024,
936936 messages: [
937937 {
from line 979
979979 // Provide search results directly in the user message
980980 var response = await client.Messages.Create(new()
981981 {
982 Model = Model.ClaudeOpus5,
982 Model = Model.ClaudeOpus5_5,
983983 MaxTokens = 1024,
984984 Messages =
985985 [
from line 1015
10151015 client := anthropic.NewClient()
10161016 
10171017 response, err := client.Messages.New(context.TODO(), anthropic.MessageNewParams{
1018 Model: anthropic.ModelClaudeOpus5,
1018 Model: anthropic.ModelClaudeOpus5_5,
10191019 MaxTokens: 1024,
10201020 Messages: []anthropic.MessageParam{
10211021 anthropic.NewUserMessage(
from line 1057
10571057 AnthropicClient client = AnthropicOkHttpClient.fromEnv();
10581058 
10591059 MessageCreateParams params = MessageCreateParams.builder()
1060 .model(Model.CLAUDE_OPUS_5)
1060 .model(Model.CLAUDE_OPUS_5_5)
10611061 .maxTokens(1024L)
10621062 .addUserMessageOfBlockParams(List.of(
10631063 ContentBlockParam.ofSearchResult(
from line 1137
11371137 ]
11381138 ]
11391139 ],
1140 model: 'claude-opus-5',
1140 model: 'claude-opus-5-5',
11411141 );
11421142 
11431143 echo json_encode($message, JSON_PRETTY_PRINT);
from line 1147
11471147 client = Anthropic::Client.new
11481148 
11491149 message = client.messages.create(
1150 model: "claude-opus-5",
1150 model: "claude-opus-5-5",
11511151 max_tokens: 1024,
11521152 messages: [
11531153 {
from line 1310
13101310 -H "anthropic-version: 2023-06-01" \
13111311 -H "content-type: application/json" \
13121312 -d '{
1313 "model": "claude-opus-5",
1313 "model": "claude-opus-5-5",
13141314 "max_tokens": 1024,
13151315 "tools": [
13161316 {
from line 1391
13911391 
13921392 ```bash CLI
13931393 ant messages create <<'YAML'
1394 model: claude-opus-5
1394 model: claude-opus-5-5
13951395 max_tokens: 1024
13961396 tools:
13971397 - name: search_knowledge_base
from line 1469
14691469 # Replay a conversation that provides search results both ways: the first
14701470 # user message carries a pre-fetched result, the tool result returns another
14711471 response = client.messages.create(
1472 model="claude-opus-5",
1472 model="claude-opus-5-5",
14731473 max_tokens=1024,
14741474 tools=[knowledge_base_tool],
14751475 messages=[
from line 1555
15551555 // Replay a conversation that provides search results both ways: the first
15561556 // user message carries a pre-fetched result, the tool result returns another
15571557 const response = await client.messages.create({
1558 model: "claude-opus-5",
1558 model: "claude-opus-5-5",
15591559 max_tokens: 1024,
15601560 tools: [knowledgeBaseTool],
15611561 messages: [
from line 1628
16281628 // user message carries a pre-fetched result, the tool result returns another
16291629 var response = await client.Messages.Create(new()
16301630 {
1631 Model = Model.ClaudeOpus5,
1631 Model = Model.ClaudeOpus5_5,
16321632 MaxTokens = 1024,
16331633 Tools =
16341634 [
from line 1726
17261726 // Replay a conversation that provides search results both ways: the first
17271727 // user message carries a pre-fetched result, the tool result returns another
17281728 response, err := client.Messages.New(context.TODO(), anthropic.MessageNewParams{
1729 Model: anthropic.ModelClaudeOpus5,
1729 Model: anthropic.ModelClaudeOpus5_5,
17301730 MaxTokens: 1024,
17311731 Tools: []anthropic.ToolUnionParam{knowledgeBaseTool},
17321732 Messages: []anthropic.MessageParam{
from line 1801
18011801 // Replay a conversation that provides search results both ways: the first
18021802 // user message carries a pre-fetched result, the tool result returns another
18031803 MessageCreateParams params = MessageCreateParams.builder()
1804 .model(Model.CLAUDE_OPUS_5)
1804 .model(Model.CLAUDE_OPUS_5_5)
18051805 .maxTokens(1024L)
18061806 .addTool(knowledgeBaseTool)
18071807 .addUserMessageOfBlockParams(List.of(
from line 1927
19271927 ]
19281928 ]
19291929 ],
1930 model: 'claude-opus-5',
1930 model: 'claude-opus-5-5',
19311931 );
19321932 
19331933 echo json_encode($response, JSON_PRETTY_PRINT);
from line 1951
19511951 # Replay a conversation that provides search results both ways: the first
19521952 # user message carries a pre-fetched result, the tool result returns another
19531953 response = client.messages.create(
1954 model: "claude-opus-5",
1954 model: "claude-opus-5-5",
19551955 max_tokens: 1024,
19561956 tools: [knowledge_base_tool],
19571957 messages: [