The whole hunk
from line 147, old and new numbered
/
lines
from line 147
147147 -H "anthropic-version: 2023-06-01" \
148148 -H "anthropic-beta: mcp-client-2025-11-20" \
149149 -d '{
150 "model": "claude-opus-5",
150 "model": "claude-opus-5-5",
151151 "max_tokens": 1000,
152152 "messages": [{"role": "user", "content": "Use the hello tool to greet tunnel."}],
153153 "mcp_servers": [
from line 163
163163
164164 ```bash CLI
165165 ant beta:messages create --beta mcp-client-2025-11-20 <<'YAML'
166 model: claude-opus-5
166 model: claude-opus-5-5
167167 max_tokens: 1000
168168 messages:
169169 - role: user
from line 182
182182 client = anthropic.Anthropic()
183183
184184 response = client.beta.messages.create(
185 model="claude-opus-5",
185 model="claude-opus-5-5",
186186 max_tokens=1000,
187187 messages=[{"role": "user", "content": "Use the hello tool to greet tunnel."}],
188188 mcp_servers=[
from line 203
203203 const anthropic = new Anthropic();
204204
205205 const response = await anthropic.beta.messages.create({
206 model: "claude-opus-5",
206 model: "claude-opus-5-5",
207207 max_tokens: 1000,
208208 messages: [
209209 {
from line 235
235235
236236 var parameters = new MessageCreateParams
237237 {
238 Model = Messages::Model.ClaudeOpus5,
238 Model = Messages::Model.ClaudeOpus5_5,
239239 MaxTokens = 1000,
240240 Messages = new List<BetaMessageParam>
241241 {
from line 264
264264 client := anthropic.NewClient()
265265
266266 response, err := client.Beta.Messages.New(context.TODO(), anthropic.BetaMessageNewParams{
267 Model: anthropic.ModelClaudeOpus5,
267 Model: anthropic.ModelClaudeOpus5_5,
268268 MaxTokens: 1000,
269269 Messages: []anthropic.BetaMessageParam{
270270 anthropic.NewBetaUserMessage(anthropic.NewBetaTextBlock("Use the hello tool to greet tunnel.")),
from line 300
300300 AnthropicClient client = AnthropicOkHttpClient.fromEnv();
301301
302302 MessageCreateParams params = MessageCreateParams.builder()
303 .model(Model.CLAUDE_OPUS_5)
303 .model(Model.CLAUDE_OPUS_5_5)
304304 .maxTokens(1000L)
305305 .addUserMessage("Use the hello tool to greet tunnel.")
306306 .addMcpServer(BetaRequestMcpServerUrlDefinition.builder()
from line 326
326326 messages: [
327327 ['role' => 'user', 'content' => 'Use the hello tool to greet tunnel.']
328328 ],
329 model: 'claude-opus-5',
329 model: 'claude-opus-5-5',
330330 mcpServers: [
331331 [
332332 'type' => 'url',
from line 350
350350 client = Anthropic::Client.new
351351
352352 response = client.beta.messages.create(
353 model: "claude-opus-5",
353 model: "claude-opus-5-5",
354354 max_tokens: 1000,
355355 messages: [
356356 { role: "user", content: "Use the hello tool to greet tunnel." }