@effect/ai-anthropic 4.0.0-beta.65 → 4.0.0-beta.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@
4
4
  * Provides tools that are natively supported by Anthropic's API, including
5
5
  * Bash, Code Execution, Computer Use, Memory, and Text Editor functionality.
6
6
  *
7
- * @since 1.0.0
7
+ * @since 4.0.0
8
8
  */
9
9
  import * as Schema from "effect/Schema"
10
10
  import * as Tool from "effect/unstable/ai/Tool"
@@ -13,8 +13,8 @@ import * as Generated from "./Generated.ts"
13
13
  /**
14
14
  * Union of all Anthropic provider-defined tools.
15
15
  *
16
- * @since 1.0.0
17
16
  * @category models
17
+ * @since 4.0.0
18
18
  */
19
19
  export type AnthropicTool =
20
20
  | ReturnType<typeof Bash_20241022>
@@ -44,8 +44,8 @@ export type AnthropicTool =
44
44
  * Allows the model to execute bash commands in a sandboxed environment.
45
45
  * Requires the "computer-use-2024-10-22" beta header.
46
46
  *
47
- * @since 1.0.0
48
47
  * @category Bash
48
+ * @since 4.0.0
49
49
  */
50
50
  export const Bash_20241022 = Tool.providerDefined({
51
51
  id: "anthropic.bash_20241022",
@@ -65,8 +65,8 @@ export const Bash_20241022 = Tool.providerDefined({
65
65
  * Allows the model to execute bash commands in a sandboxed environment.
66
66
  * Requires the "computer-use-2025-01-24" beta header.
67
67
  *
68
- * @since 1.0.0
69
68
  * @category Bash
69
+ * @since 4.0.0
70
70
  */
71
71
  export const Bash_20250124 = Tool.providerDefined({
72
72
  id: "anthropic.bash_20250124",
@@ -89,10 +89,10 @@ export const Bash_20250124 = Tool.providerDefined({
89
89
  // -----------------------------------------------------------------------------
90
90
 
91
91
  /**
92
- * Programmatic tool call execution parameter.
92
+ * Schema for a code execution request that asks Anthropic to run source code as a programmatic tool call.
93
93
  *
94
- * @since 1.0.0
95
94
  * @category Code Execution
95
+ * @since 4.0.0
96
96
  */
97
97
  export const CodeExecutionProgrammaticToolCall = Schema.Struct({
98
98
  type: Schema.Literal("programmatic-tool-call"),
@@ -102,16 +102,18 @@ export const CodeExecutionProgrammaticToolCall = Schema.Struct({
102
102
  code: Schema.String
103
103
  })
104
104
  /**
105
- * @since 1.0.0
105
+ * Input payload for a programmatic code execution tool call, including the source code to execute.
106
+ *
106
107
  * @category Code Execution
108
+ * @since 4.0.0
107
109
  */
108
110
  export type CodeExecutionProgrammaticToolCall = typeof CodeExecutionProgrammaticToolCall.Type
109
111
 
110
112
  /**
111
- * Bash code execution parameter.
113
+ * Schema for a code execution request that runs a bash command.
112
114
  *
113
- * @since 1.0.0
114
115
  * @category Code Execution
116
+ * @since 4.0.0
115
117
  */
116
118
  export const CodeExecutionBashCommand = Schema.Struct({
117
119
  type: Schema.Literal("bash_code_execution"),
@@ -121,16 +123,18 @@ export const CodeExecutionBashCommand = Schema.Struct({
121
123
  command: Schema.String
122
124
  })
123
125
  /**
124
- * @since 1.0.0
126
+ * Input payload for a bash command executed through Anthropic code execution.
127
+ *
125
128
  * @category Code Execution
129
+ * @since 4.0.0
126
130
  */
127
131
  export type CodeExecutionBashCommand = typeof CodeExecutionBashCommand.Type
128
132
 
129
133
  /**
130
134
  * Text editor view command for code execution.
131
135
  *
132
- * @since 1.0.0
133
136
  * @category Code Execution
137
+ * @since 4.0.0
134
138
  */
135
139
  export const CodeExecutionTextEditorView = Schema.Struct({
136
140
  type: Schema.Literal("text_editor_code_execution"),
@@ -141,16 +145,18 @@ export const CodeExecutionTextEditorView = Schema.Struct({
141
145
  path: Schema.String
142
146
  })
143
147
  /**
144
- * @since 1.0.0
148
+ * Input payload for viewing a file through the text editor code execution tool.
149
+ *
145
150
  * @category Code Execution
151
+ * @since 4.0.0
146
152
  */
147
153
  export type CodeExecutionTextEditorView = typeof CodeExecutionTextEditorView.Type
148
154
 
149
155
  /**
150
156
  * Text editor create command for code execution.
151
157
  *
152
- * @since 1.0.0
153
158
  * @category Code Execution
159
+ * @since 4.0.0
154
160
  */
155
161
  export const CodeExecutionTextEditorCreate = Schema.Struct({
156
162
  type: Schema.Literal("text_editor_code_execution"),
@@ -165,16 +171,18 @@ export const CodeExecutionTextEditorCreate = Schema.Struct({
165
171
  file_text: Schema.optional(Schema.NullOr(Schema.String))
166
172
  })
167
173
  /**
168
- * @since 1.0.0
174
+ * Input payload for creating a file through the text editor code execution tool, optionally including initial file text.
175
+ *
169
176
  * @category Code Execution
177
+ * @since 4.0.0
170
178
  */
171
179
  export type CodeExecutionTextEditorCreate = typeof CodeExecutionTextEditorCreate.Type
172
180
 
173
181
  /**
174
182
  * Text editor str_replace command for code execution.
175
183
  *
176
- * @since 1.0.0
177
184
  * @category Code Execution
185
+ * @since 4.0.0
178
186
  */
179
187
  export const CodeExecutionTextEditorStrReplace = Schema.Struct({
180
188
  type: Schema.Literal("text_editor_code_execution"),
@@ -193,8 +201,10 @@ export const CodeExecutionTextEditorStrReplace = Schema.Struct({
193
201
  new_str: Schema.String
194
202
  })
195
203
  /**
196
- * @since 1.0.0
204
+ * Input payload for replacing text in a file through the text editor code execution tool.
205
+ *
197
206
  * @category Code Execution
207
+ * @since 4.0.0
198
208
  */
199
209
  export type CodeExecutionTextEditorStrReplace = typeof CodeExecutionTextEditorStrReplace.Type
200
210
 
@@ -211,10 +221,10 @@ const CodeExecution_20250522_Parameters = Schema.Union([
211
221
  // -----------------------------------------------------------------------------
212
222
 
213
223
  /**
214
- * Simple code execution parameter.
224
+ * Schema for the 2025-08-25 code execution tool input, containing the code to execute.
215
225
  *
216
- * @since 1.0.0
217
226
  * @category Code Execution
227
+ * @since 4.0.0
218
228
  */
219
229
  export const CodeExecution_20250825_Parameters = Schema.Struct({
220
230
  /**
@@ -223,8 +233,10 @@ export const CodeExecution_20250825_Parameters = Schema.Struct({
223
233
  code: Schema.String
224
234
  })
225
235
  /**
226
- * @since 1.0.0
236
+ * Input payload for the 2025-08-25 Anthropic code execution tool.
237
+ *
227
238
  * @category Code Execution
239
+ * @since 4.0.0
228
240
  */
229
241
  export type CodeExecution_20250825_Parameters = typeof CodeExecution_20250825_Parameters.Type
230
242
 
@@ -239,8 +251,8 @@ export type CodeExecution_20250825_Parameters = typeof CodeExecution_20250825_Pa
239
251
  * for multiple execution types including programmatic tool calls, bash
240
252
  * execution, and text editor operations.
241
253
  *
242
- * @since 1.0.0
243
254
  * @category Code Execution
255
+ * @since 4.0.0
244
256
  */
245
257
  export const CodeExecution_20250522 = Tool.providerDefined({
246
258
  id: "anthropic.code_execution_20250522",
@@ -256,8 +268,8 @@ export const CodeExecution_20250522 = Tool.providerDefined({
256
268
  *
257
269
  * Allows the model to execute code in a sandboxed environment.
258
270
  *
259
- * @since 1.0.0
260
271
  * @category Code Execution
272
+ * @since 4.0.0
261
273
  */
262
274
  export const CodeExecution_20250825 = Tool.providerDefined({
263
275
  id: "anthropic.code_execution_20250825",
@@ -289,52 +301,60 @@ export const CodeExecution_20250825 = Tool.providerDefined({
289
301
  /**
290
302
  * An `[x, y]` pixel position.
291
303
  *
292
- * @since 1.0.0
293
304
  * @category Computer Use
305
+ * @since 4.0.0
294
306
  */
295
307
  export const Coordinate = Schema.Tuple([Schema.Number, Schema.Number])
296
308
  /**
297
- * @since 1.0.0
309
+ * An `[x, y]` screen coordinate in pixels.
310
+ *
298
311
  * @category Computer Use
312
+ * @since 4.0.0
299
313
  */
300
314
  export type Coordinate = typeof Coordinate.Type
301
315
 
302
316
  /**
303
317
  * A `[x1, y1, x2, y2]` position defining top-left and bottom-right corners.
304
318
  *
305
- * @since 1.0.0
306
319
  * @category Computer Use
320
+ * @since 4.0.0
307
321
  */
308
322
  export const Region = Schema.Tuple([Schema.Number, Schema.Number, Schema.Number, Schema.Number])
309
323
  /**
310
- * @since 1.0.0
324
+ * An `[x1, y1, x2, y2]` screen region in pixels, from top-left to bottom-right.
325
+ *
311
326
  * @category Computer Use
327
+ * @since 4.0.0
312
328
  */
313
329
  export type Region = typeof Region.Type
314
330
 
315
331
  /**
316
332
  * The direction of the scroll for scroll actions.
317
333
  *
318
- * @since 1.0.0
319
334
  * @category Computer Use
335
+ * @since 4.0.0
320
336
  */
321
337
  export const ScrollDirection = Schema.Literals(["up", "down", "left", "right"])
322
338
  /**
323
- * @since 1.0.0
339
+ * Direction used by computer-use scroll actions: `"up"`, `"down"`, `"left"`, or `"right"`.
340
+ *
324
341
  * @category Computer Use
342
+ * @since 4.0.0
325
343
  */
326
344
  export type ScrollDirection = typeof ScrollDirection.Type
327
345
 
328
346
  /**
329
347
  * Modifier keys that can be held during click/scroll actions.
330
348
  *
331
- * @since 1.0.0
332
349
  * @category Computer Use
350
+ * @since 4.0.0
333
351
  */
334
352
  export const ModifierKey = Schema.Literals(["alt", "ctrl", "meta", "shift"])
335
353
  /**
336
- * @since 1.0.0
354
+ * Modifier key that can be held during computer-use click or scroll actions.
355
+ *
337
356
  * @category Computer Use
357
+ * @since 4.0.0
338
358
  */
339
359
  export type ModifierKey = typeof ModifierKey.Type
340
360
 
@@ -373,8 +393,8 @@ const ComputerUse_20251124_Args = Schema.Struct({
373
393
  /**
374
394
  * Press a key or key combination (e.g. `"Return"`, `"ctrl+c"`, `"ctrl+s"`).
375
395
  *
376
- * @since 1.0.0
377
396
  * @category Computer Use
397
+ * @since 4.0.0
378
398
  */
379
399
  export const ComputerUseKeyAction = Schema.Struct({
380
400
  action: Schema.Literal("key"),
@@ -384,16 +404,18 @@ export const ComputerUseKeyAction = Schema.Struct({
384
404
  text: Schema.String
385
405
  })
386
406
  /**
387
- * @since 1.0.0
407
+ * Computer-use action payload for pressing a key or key combination.
408
+ *
388
409
  * @category Computer Use
410
+ * @since 4.0.0
389
411
  */
390
412
  export type ComputerUseKeyAction = typeof ComputerUseKeyAction.Type
391
413
 
392
414
  /**
393
415
  * Perform a left click at the current mouse position or the specified coordinates.
394
416
  *
395
- * @since 1.0.0
396
417
  * @category Computer Use
418
+ * @since 4.0.0
397
419
  */
398
420
  export const ComputerUseLeftClickAction = Schema.Struct({
399
421
  action: Schema.Literal("left_click"),
@@ -404,16 +426,18 @@ export const ComputerUseLeftClickAction = Schema.Struct({
404
426
  coordinate: Schema.optional(Coordinate)
405
427
  })
406
428
  /**
407
- * @since 1.0.0
429
+ * Computer-use action payload for performing a left click, optionally at a specific coordinate.
430
+ *
408
431
  * @category Computer Use
432
+ * @since 4.0.0
409
433
  */
410
434
  export type ComputerUseLeftClickAction = typeof ComputerUseLeftClickAction.Type
411
435
 
412
436
  /**
413
437
  * Move the mouse cursor to the specified coordinates.
414
438
  *
415
- * @since 1.0.0
416
439
  * @category Computer Use
440
+ * @since 4.0.0
417
441
  */
418
442
  export const ComputerUseMouseMoveAction = Schema.Struct({
419
443
  action: Schema.Literal("mouse_move"),
@@ -423,31 +447,35 @@ export const ComputerUseMouseMoveAction = Schema.Struct({
423
447
  coordinate: Coordinate
424
448
  })
425
449
  /**
426
- * @since 1.0.0
450
+ * Computer-use action payload for moving the mouse cursor to a specific coordinate.
451
+ *
427
452
  * @category Computer Use
453
+ * @since 4.0.0
428
454
  */
429
455
  export type ComputerUseMouseMoveAction = typeof ComputerUseMouseMoveAction.Type
430
456
 
431
457
  /**
432
458
  * Capture the current display.
433
459
  *
434
- * @since 1.0.0
435
460
  * @category Computer Use
461
+ * @since 4.0.0
436
462
  */
437
463
  export const ComputerUseScreenshotAction = Schema.Struct({
438
464
  action: Schema.Literal("screenshot")
439
465
  })
440
466
  /**
441
- * @since 1.0.0
467
+ * Computer-use action payload for capturing the current display.
468
+ *
442
469
  * @category Computer Use
470
+ * @since 4.0.0
443
471
  */
444
472
  export type ComputerUseScreenshotAction = typeof ComputerUseScreenshotAction.Type
445
473
 
446
474
  /**
447
475
  * Type a text string.
448
476
  *
449
- * @since 1.0.0
450
477
  * @category Computer Use
478
+ * @since 4.0.0
451
479
  */
452
480
  export const TypeAction = Schema.Struct({
453
481
  action: Schema.Literal("type"),
@@ -457,8 +485,10 @@ export const TypeAction = Schema.Struct({
457
485
  text: Schema.String
458
486
  })
459
487
  /**
460
- * @since 1.0.0
488
+ * Computer-use action payload for typing a text string.
489
+ *
461
490
  * @category Computer Use
491
+ * @since 4.0.0
462
492
  */
463
493
  export type TypeAction = typeof TypeAction.Type
464
494
 
@@ -477,8 +507,8 @@ const ComputerUse_20241022_Actions = Schema.Union([
477
507
  /**
478
508
  * Perform a double click.
479
509
  *
480
- * @since 1.0.0
481
510
  * @category Computer Use
511
+ * @since 4.0.0
482
512
  */
483
513
  export const ComputerUseDoubleClickAction = Schema.Struct({
484
514
  action: Schema.Literal("double_click"),
@@ -489,16 +519,18 @@ export const ComputerUseDoubleClickAction = Schema.Struct({
489
519
  coordinate: Schema.optional(Coordinate)
490
520
  })
491
521
  /**
492
- * @since 1.0.0
522
+ * Computer-use action payload for performing a double click, optionally at a specific coordinate.
523
+ *
493
524
  * @category Computer Use
525
+ * @since 4.0.0
494
526
  */
495
527
  export type ComputerUseDoubleClickAction = typeof ComputerUseDoubleClickAction.Type
496
528
 
497
529
  /**
498
- * Holds a key while performing other actions.
530
+ * Hold a key for a specified duration during computer-use execution.
499
531
  *
500
- * @since 1.0.0
501
532
  * @category Computer Use
533
+ * @since 4.0.0
502
534
  */
503
535
  export const ComputerUseHoldKeyAction = Schema.Struct({
504
536
  action: Schema.Literal("hold_key"),
@@ -512,16 +544,18 @@ export const ComputerUseHoldKeyAction = Schema.Struct({
512
544
  duration: Schema.Number
513
545
  })
514
546
  /**
515
- * @since 1.0.0
547
+ * Computer-use action payload for holding a key for a specified duration.
548
+ *
516
549
  * @category Computer Use
550
+ * @since 4.0.0
517
551
  */
518
552
  export type ComputerUseHoldKeyAction = typeof ComputerUseHoldKeyAction.Type
519
553
 
520
554
  /**
521
555
  * Click and drag from start coordinate to end coordinate.
522
556
  *
523
- * @since 1.0.0
524
557
  * @category Computer Use
558
+ * @since 4.0.0
525
559
  */
526
560
  export const ComputerUseLeftClickDragAction = Schema.Struct({
527
561
  action: Schema.Literal("left_click_drag"),
@@ -535,8 +569,10 @@ export const ComputerUseLeftClickDragAction = Schema.Struct({
535
569
  coordinate: Coordinate
536
570
  })
537
571
  /**
538
- * @since 1.0.0
572
+ * Computer-use action payload for dragging from a start coordinate to an end coordinate.
573
+ *
539
574
  * @category Computer Use
575
+ * @since 4.0.0
540
576
  */
541
577
  export type ComputerUseLeftClickDragAction = typeof ComputerUseLeftClickDragAction.Type
542
578
 
@@ -545,8 +581,8 @@ export type ComputerUseLeftClickDragAction = typeof ComputerUseLeftClickDragActi
545
581
  *
546
582
  * Used for fine-grained click control.
547
583
  *
548
- * @since 1.0.0
549
584
  * @category Computer Use
585
+ * @since 4.0.0
550
586
  */
551
587
  export const ComputerUseLeftMouseDownAction = Schema.Struct({
552
588
  action: Schema.Literal("left_mouse_down"),
@@ -557,8 +593,10 @@ export const ComputerUseLeftMouseDownAction = Schema.Struct({
557
593
  coordinate: Schema.optional(Coordinate)
558
594
  })
559
595
  /**
560
- * @since 1.0.0
596
+ * Computer-use action payload for pressing and holding the left mouse button, optionally at a specific coordinate.
597
+ *
561
598
  * @category Computer Use
599
+ * @since 4.0.0
562
600
  */
563
601
  export type ComputerUseLeftMouseDownAction = typeof ComputerUseLeftMouseDownAction.Type
564
602
 
@@ -567,8 +605,8 @@ export type ComputerUseLeftMouseDownAction = typeof ComputerUseLeftMouseDownActi
567
605
  *
568
606
  * Used for fine-grained click control.
569
607
  *
570
- * @since 1.0.0
571
608
  * @category Computer Use
609
+ * @since 4.0.0
572
610
  */
573
611
  export const ComputerUseLeftMouseUpAction = Schema.Struct({
574
612
  action: Schema.Literal("left_mouse_up"),
@@ -579,16 +617,18 @@ export const ComputerUseLeftMouseUpAction = Schema.Struct({
579
617
  coordinate: Schema.optional(Coordinate)
580
618
  })
581
619
  /**
582
- * @since 1.0.0
620
+ * Computer-use action payload for releasing the left mouse button, optionally at a specific coordinate.
621
+ *
583
622
  * @category Computer Use
623
+ * @since 4.0.0
584
624
  */
585
625
  export type ComputerUseLeftMouseUpAction = typeof ComputerUseLeftMouseUpAction.Type
586
626
 
587
627
  /**
588
628
  * Perform a middle click.
589
629
  *
590
- * @since 1.0.0
591
630
  * @category Computer Use
631
+ * @since 4.0.0
592
632
  */
593
633
  export const ComputerUseMiddleClickAction = Schema.Struct({
594
634
  action: Schema.Literal("middle_click"),
@@ -599,16 +639,18 @@ export const ComputerUseMiddleClickAction = Schema.Struct({
599
639
  coordinate: Schema.optional(Coordinate)
600
640
  })
601
641
  /**
602
- * @since 1.0.0
642
+ * Computer-use action payload for performing a middle click, optionally at a specific coordinate.
643
+ *
603
644
  * @category Computer Use
645
+ * @since 4.0.0
604
646
  */
605
647
  export type ComputerUseMiddleClickAction = typeof ComputerUseMiddleClickAction.Type
606
648
 
607
649
  /**
608
650
  * Perform a right click.
609
651
  *
610
- * @since 1.0.0
611
652
  * @category Computer Use
653
+ * @since 4.0.0
612
654
  */
613
655
  export const ComputerUseRightClickAction = Schema.Struct({
614
656
  action: Schema.Literal("right_click"),
@@ -619,16 +661,18 @@ export const ComputerUseRightClickAction = Schema.Struct({
619
661
  coordinate: Schema.optional(Coordinate)
620
662
  })
621
663
  /**
622
- * @since 1.0.0
664
+ * Computer-use action payload for performing a right click, optionally at a specific coordinate.
665
+ *
623
666
  * @category Computer Use
667
+ * @since 4.0.0
624
668
  */
625
669
  export type ComputerUseRightClickAction = typeof ComputerUseRightClickAction.Type
626
670
 
627
671
  /**
628
672
  * Scroll a given amount in a specified direction.
629
673
  *
630
- * @since 1.0.0
631
674
  * @category Computer Use
675
+ * @since 4.0.0
632
676
  */
633
677
  export const ComputerUseScrollAction = Schema.Struct({
634
678
  action: Schema.Literal("scroll"),
@@ -647,16 +691,18 @@ export const ComputerUseScrollAction = Schema.Struct({
647
691
  scroll_amount: Schema.Number
648
692
  })
649
693
  /**
650
- * @since 1.0.0
694
+ * Computer-use action payload for scrolling by a specified amount in a specified direction, optionally from a coordinate.
695
+ *
651
696
  * @category Computer Use
697
+ * @since 4.0.0
652
698
  */
653
699
  export type ComputerUseScrollAction = typeof ComputerUseScrollAction.Type
654
700
 
655
701
  /**
656
702
  * Perform a triple click.
657
703
  *
658
- * @since 1.0.0
659
704
  * @category Computer Use
705
+ * @since 4.0.0
660
706
  */
661
707
  export const ComputerUseTripleClickAction = Schema.Struct({
662
708
  action: Schema.Literal("triple_click"),
@@ -667,16 +713,18 @@ export const ComputerUseTripleClickAction = Schema.Struct({
667
713
  coordinate: Schema.optional(Coordinate)
668
714
  })
669
715
  /**
670
- * @since 1.0.0
716
+ * Computer-use action payload for performing a triple click, optionally at a specific coordinate.
717
+ *
671
718
  * @category Computer Use
719
+ * @since 4.0.0
672
720
  */
673
721
  export type ComputerUseTripleClickAction = typeof ComputerUseTripleClickAction.Type
674
722
 
675
723
  /**
676
724
  * Pause between performing actions.
677
725
  *
678
- * @since 1.0.0
679
726
  * @category Computer Use
727
+ * @since 4.0.0
680
728
  */
681
729
  export const ComputerUseWaitAction = Schema.Struct({
682
730
  action: Schema.Literal("wait"),
@@ -686,8 +734,10 @@ export const ComputerUseWaitAction = Schema.Struct({
686
734
  duration: Schema.Number
687
735
  })
688
736
  /**
689
- * @since 1.0.0
737
+ * Computer-use action payload for pausing for a specified duration.
738
+ *
690
739
  * @category Computer Use
740
+ * @since 4.0.0
691
741
  */
692
742
  export type ComputerUseWaitAction = typeof ComputerUseWaitAction.Type
693
743
 
@@ -714,8 +764,8 @@ const ComputerUse_20250124_Actions = Schema.Union([
714
764
  *
715
765
  * Requires `enableZoom: true` in the tool definition.
716
766
  *
717
- * @since 1.0.0
718
767
  * @category Computer Use
768
+ * @since 4.0.0
719
769
  */
720
770
  export const ComputerUseZoomAction = Schema.Struct({
721
771
  action: Schema.Literal("zoom"),
@@ -726,8 +776,13 @@ export const ComputerUseZoomAction = Schema.Struct({
726
776
  region: Region
727
777
  })
728
778
  /**
729
- * @since 1.0.0
779
+ * Computer-use action payload for zooming into a specific screen region.
780
+ *
781
+ * **Notes**
782
+ * The enclosing computer-use tool must be configured with `enableZoom: true`.
783
+ *
730
784
  * @category Computer Use
785
+ * @since 4.0.0
731
786
  */
732
787
  export type ComputerUseZoomAction = typeof ComputerUseZoomAction.Type
733
788
 
@@ -747,8 +802,8 @@ const ComputerUse_20251124_Actions = Schema.Union([
747
802
  *
748
803
  * Basic actions only: screenshot, left_click, type, key, mouse_move.
749
804
  *
750
- * @since 1.0.0
751
805
  * @category Computer Use
806
+ * @since 4.0.0
752
807
  */
753
808
  export const ComputerUse_20241022 = Tool.providerDefined({
754
809
  id: "anthropic.computer_use_20241022",
@@ -769,8 +824,8 @@ export const ComputerUse_20241022 = Tool.providerDefined({
769
824
  * right_click, middle_click, double_click, triple_click, left_mouse_down,
770
825
  * left_mouse_up, hold_key, wait.
771
826
  *
772
- * @since 1.0.0
773
827
  * @category Computer Use
828
+ * @since 4.0.0
774
829
  */
775
830
  export const ComputerUse_20250124 = Tool.providerDefined({
776
831
  id: "anthropic.computer_20250124",
@@ -790,8 +845,8 @@ export const ComputerUse_20250124 = Tool.providerDefined({
790
845
  * Includes all actions from computer_20250124 plus the zoom action for
791
846
  * detailed screen region inspection. Requires `enableZoom: true` in args.
792
847
  *
793
- * @since 1.0.0
794
848
  * @category Computer Use
849
+ * @since 4.0.0
795
850
  */
796
851
  export const ComputerUse_20251124 = Tool.providerDefined({
797
852
  id: "anthropic.computer_20251124",
@@ -814,18 +869,20 @@ export const ComputerUse_20251124 = Tool.providerDefined({
814
869
  /**
815
870
  * A `[start, end]` line range for viewing file contents.
816
871
  *
817
- * Lines are 1-indexed. Use -1 for end to read to end of file.
872
+ * Lines are 1-indexed. Use -1 for end to read to end of file:
818
873
  *
819
- * @example [1, 50] // View lines 1-50
820
- * @example [100, -1] // View from line 100 to end of file
874
+ * - `[1, 50]`: View lines 1-50
875
+ * - `[100, -1]`: View from line 100 to end of file
821
876
  *
822
- * @since 1.0.0
823
877
  * @category Memory
878
+ * @since 4.0.0
824
879
  */
825
880
  export const ViewRange = Schema.Tuple([Schema.Number, Schema.Number])
826
881
  /**
827
- * @since 1.0.0
882
+ * A `[start, end]` 1-indexed line range for viewing file contents, using `-1` as the end value to read through the end of the file.
883
+ *
828
884
  * @category Memory
885
+ * @since 4.0.0
829
886
  */
830
887
  export type ViewRange = typeof ViewRange.Type
831
888
 
@@ -836,8 +893,8 @@ export type ViewRange = typeof ViewRange.Type
836
893
  /**
837
894
  * Creates a new file.
838
895
  *
839
- * @since 1.0.0
840
896
  * @category Memory
897
+ * @since 4.0.0
841
898
  */
842
899
  export const MemoryCreateCommand = Schema.Struct({
843
900
  command: Schema.Literal("create"),
@@ -847,16 +904,18 @@ export const MemoryCreateCommand = Schema.Struct({
847
904
  path: Schema.String
848
905
  })
849
906
  /**
850
- * @since 1.0.0
907
+ * Memory tool command payload for creating a new file at a path.
908
+ *
851
909
  * @category Memory
910
+ * @since 4.0.0
852
911
  */
853
912
  export type MemoryCreateCommand = typeof MemoryCreateCommand.Type
854
913
 
855
914
  /**
856
915
  * Delete a file or directory.
857
916
  *
858
- * @since 1.0.0
859
917
  * @category Memory
918
+ * @since 4.0.0
860
919
  */
861
920
  export const MemoryDeleteCommand = Schema.Struct({
862
921
  command: Schema.Literal("delete"),
@@ -866,16 +925,18 @@ export const MemoryDeleteCommand = Schema.Struct({
866
925
  path: Schema.String
867
926
  })
868
927
  /**
869
- * @since 1.0.0
928
+ * Memory tool command payload for deleting a file or directory at a path.
929
+ *
870
930
  * @category Memory
931
+ * @since 4.0.0
871
932
  */
872
933
  export type MemoryDeleteCommand = typeof MemoryDeleteCommand.Type
873
934
 
874
935
  /**
875
936
  * Insert text at a specific line.
876
937
  *
877
- * @since 1.0.0
878
938
  * @category Memory
939
+ * @since 4.0.0
879
940
  */
880
941
  export const MemoryInsertCommand = Schema.Struct({
881
942
  command: Schema.Literal("insert"),
@@ -893,16 +954,18 @@ export const MemoryInsertCommand = Schema.Struct({
893
954
  insert_text: Schema.String
894
955
  })
895
956
  /**
896
- * @since 1.0.0
957
+ * Memory tool command payload for inserting text at a specific line in a file.
958
+ *
897
959
  * @category Memory
960
+ * @since 4.0.0
898
961
  */
899
962
  export type MemoryInsertCommand = typeof MemoryInsertCommand.Type
900
963
 
901
964
  /**
902
965
  * Rename or move a file or directory.
903
966
  *
904
- * @since 1.0.0
905
967
  * @category Memory
968
+ * @since 4.0.0
906
969
  */
907
970
  export const MemoryRenameCommand = Schema.Struct({
908
971
  command: Schema.Literal("rename"),
@@ -916,16 +979,18 @@ export const MemoryRenameCommand = Schema.Struct({
916
979
  new_path: Schema.String
917
980
  })
918
981
  /**
919
- * @since 1.0.0
982
+ * Memory tool command payload for renaming or moving a file or directory.
983
+ *
920
984
  * @category Memory
985
+ * @since 4.0.0
921
986
  */
922
987
  export type MemoryRenameCommand = typeof MemoryRenameCommand.Type
923
988
 
924
989
  /**
925
990
  * Replace text in a file.
926
991
  *
927
- * @since 1.0.0
928
992
  * @category Memory
993
+ * @since 4.0.0
929
994
  */
930
995
  export const MemoryStrReplaceCommand = Schema.Struct({
931
996
  command: Schema.Literal("str_replace"),
@@ -943,16 +1008,18 @@ export const MemoryStrReplaceCommand = Schema.Struct({
943
1008
  new_str: Schema.String
944
1009
  })
945
1010
  /**
946
- * @since 1.0.0
1011
+ * Memory tool command payload for replacing text in a file.
1012
+ *
947
1013
  * @category Memory
1014
+ * @since 4.0.0
948
1015
  */
949
1016
  export type MemoryStrReplaceCommand = typeof MemoryStrReplaceCommand.Type
950
1017
 
951
1018
  /**
952
1019
  * Shows directory contents or file contents with optional line ranges.
953
1020
  *
954
- * @since 1.0.0
955
1021
  * @category Memory
1022
+ * @since 4.0.0
956
1023
  */
957
1024
  export const MemoryViewCommand = Schema.Struct({
958
1025
  command: Schema.Literal("view"),
@@ -966,8 +1033,10 @@ export const MemoryViewCommand = Schema.Struct({
966
1033
  view_range: Schema.optional(ViewRange)
967
1034
  })
968
1035
  /**
969
- * @since 1.0.0
1036
+ * Memory tool command payload for viewing a file or directory, optionally with a file line range.
1037
+ *
970
1038
  * @category Memory
1039
+ * @since 4.0.0
971
1040
  */
972
1041
  export type MemoryViewCommand = typeof MemoryViewCommand.Type
973
1042
 
@@ -990,8 +1059,8 @@ const Memory_20250818_Commands = Schema.Union([
990
1059
  * Provides commands for creating, viewing, editing, renaming, and deleting
991
1060
  * files within the model's memory space.
992
1061
  *
993
- * @since 1.0.0
994
1062
  * @category Memory
1063
+ * @since 4.0.0
995
1064
  */
996
1065
  export const Memory_20250818 = Tool.providerDefined({
997
1066
  id: "anthropic.memory_20250818",
@@ -1015,8 +1084,8 @@ export const Memory_20250818 = Tool.providerDefined({
1015
1084
  * When used on a file: Returns the file contents, optionally limited to a line range.
1016
1085
  * When used on a directory: Lists all files and subdirectories.
1017
1086
  *
1018
- * @since 1.0.0
1019
1087
  * @category Text Editor
1088
+ * @since 4.0.0
1020
1089
  */
1021
1090
  export const TextEditorViewCommand = Schema.Struct({
1022
1091
  command: Schema.Literal("view"),
@@ -1031,8 +1100,10 @@ export const TextEditorViewCommand = Schema.Struct({
1031
1100
  view_range: Schema.optional(ViewRange)
1032
1101
  })
1033
1102
  /**
1034
- * @since 1.0.0
1103
+ * Text editor command payload for viewing file contents or listing directory contents.
1104
+ *
1035
1105
  * @category Text Editor
1106
+ * @since 4.0.0
1036
1107
  */
1037
1108
  export type TextEditorViewCommand = typeof TextEditorViewCommand.Type
1038
1109
 
@@ -1041,8 +1112,8 @@ export type TextEditorViewCommand = typeof TextEditorViewCommand.Type
1041
1112
  *
1042
1113
  * Will fail if the file already exists. Parent directories must exist.
1043
1114
  *
1044
- * @since 1.0.0
1045
1115
  * @category Text Editor
1116
+ * @since 4.0.0
1046
1117
  */
1047
1118
  export const TextEditorCreateCommand = Schema.Struct({
1048
1119
  command: Schema.Literal("create"),
@@ -1056,8 +1127,13 @@ export const TextEditorCreateCommand = Schema.Struct({
1056
1127
  file_text: Schema.String
1057
1128
  })
1058
1129
  /**
1059
- * @since 1.0.0
1130
+ * Text editor command payload for creating a new file with the specified content.
1131
+ *
1132
+ * **Notes**
1133
+ * The command fails if the file already exists or if parent directories are missing.
1134
+ *
1060
1135
  * @category Text Editor
1136
+ * @since 4.0.0
1061
1137
  */
1062
1138
  export type TextEditorCreateCommand = typeof TextEditorCreateCommand.Type
1063
1139
 
@@ -1067,8 +1143,8 @@ export type TextEditorCreateCommand = typeof TextEditorCreateCommand.Type
1067
1143
  * The `old_str` must match exactly (including whitespace and indentation)
1068
1144
  * and must be unique in the file.
1069
1145
  *
1070
- * @since 1.0.0
1071
1146
  * @category Text Editor
1147
+ * @since 4.0.0
1072
1148
  */
1073
1149
  export const TextEditorStrReplaceCommand = Schema.Struct({
1074
1150
  command: Schema.Literal("str_replace"),
@@ -1086,8 +1162,10 @@ export const TextEditorStrReplaceCommand = Schema.Struct({
1086
1162
  new_str: Schema.String
1087
1163
  })
1088
1164
  /**
1089
- * @since 1.0.0
1165
+ * Text editor command payload for replacing one exact, unique string in a file.
1166
+ *
1090
1167
  * @category Text Editor
1168
+ * @since 4.0.0
1091
1169
  */
1092
1170
  export type TextEditorStrReplaceCommand = typeof TextEditorStrReplaceCommand.Type
1093
1171
 
@@ -1096,8 +1174,8 @@ export type TextEditorStrReplaceCommand = typeof TextEditorStrReplaceCommand.Typ
1096
1174
  *
1097
1175
  * Inserts the new text AFTER the specified line number.
1098
1176
  *
1099
- * @since 1.0.0
1100
1177
  * @category Text Editor
1178
+ * @since 4.0.0
1101
1179
  */
1102
1180
  export const TextEditorInsertCommand = Schema.Struct({
1103
1181
  command: Schema.Literal("insert"),
@@ -1115,8 +1193,10 @@ export const TextEditorInsertCommand = Schema.Struct({
1115
1193
  new_str: Schema.String
1116
1194
  })
1117
1195
  /**
1118
- * @since 1.0.0
1196
+ * Text editor command payload for inserting text after a specific line number in a file.
1197
+ *
1119
1198
  * @category Text Editor
1199
+ * @since 4.0.0
1120
1200
  */
1121
1201
  export type TextEditorInsertCommand = typeof TextEditorInsertCommand.Type
1122
1202
 
@@ -1128,8 +1208,8 @@ export type TextEditorInsertCommand = typeof TextEditorInsertCommand.Type
1128
1208
  * NOTE: This command is available in text_editor_20241022 and text_editor_20250124,
1129
1209
  * but NOT in text_editor_20250728 (Claude 4 models).
1130
1210
  *
1131
- * @since 1.0.0
1132
1211
  * @category Text Editor
1212
+ * @since 4.0.0
1133
1213
  */
1134
1214
  export const TextEditorUndoEditCommand = Schema.Struct({
1135
1215
  command: Schema.Literal("undo_edit"),
@@ -1139,8 +1219,13 @@ export const TextEditorUndoEditCommand = Schema.Struct({
1139
1219
  path: Schema.String
1140
1220
  })
1141
1221
  /**
1142
- * @since 1.0.0
1222
+ * Text editor command payload for undoing the most recent edit to a file.
1223
+ *
1224
+ * **Notes**
1225
+ * Available for `text_editor_20241022` and `text_editor_20250124`, but not for Claude 4 text editor versions.
1226
+ *
1143
1227
  * @category Text Editor
1228
+ * @since 4.0.0
1144
1229
  */
1145
1230
  export type TextEditorUndoEditCommand = typeof TextEditorUndoEditCommand.Type
1146
1231
 
@@ -1180,8 +1265,8 @@ const TextEditor_StrReplaceBasedEdit_Args = Schema.Struct({
1180
1265
  *
1181
1266
  * Requires the "computer-use-2024-10-22" beta header.
1182
1267
  *
1183
- * @since 1.0.0
1184
1268
  * @category Text Editor
1269
+ * @since 4.0.0
1185
1270
  */
1186
1271
  export const TextEditor_20241022 = Tool.providerDefined({
1187
1272
  id: "anthropic.text_editor_20241022",
@@ -1195,8 +1280,11 @@ export const TextEditor_20241022 = Tool.providerDefined({
1195
1280
  /**
1196
1281
  * Text editor tool for Claude Sonnet 3.7 (deprecated model).
1197
1282
  *
1198
- * @since 1.0.0
1283
+ * **Notes**
1284
+ * Requires the "computer-use-2025-01-24" beta header.
1285
+ *
1199
1286
  * @category Text Editor
1287
+ * @since 4.0.0
1200
1288
  */
1201
1289
  export const TextEditor_20250124 = Tool.providerDefined({
1202
1290
  id: "anthropic.text_editor_20250124",
@@ -1208,12 +1296,13 @@ export const TextEditor_20250124 = Tool.providerDefined({
1208
1296
  })
1209
1297
 
1210
1298
  /**
1211
- * Text editor tool for Claude 4 models.
1299
+ * Text editor tool for Claude 4 models using Anthropic's `str_replace_based_edit_tool`.
1212
1300
  *
1213
- * NOTE: This version does NOT support the `undo_edit` command.
1301
+ * **Notes**
1302
+ * Requires the "computer-use-2025-01-24" beta header. This version does not support the `undo_edit` command.
1214
1303
  *
1215
- * @since 1.0.0
1216
1304
  * @category Text Editor
1305
+ * @since 4.0.0
1217
1306
  */
1218
1307
  export const TextEditor_20250429 = Tool.providerDefined({
1219
1308
  id: "anthropic.text_editor_20250429",
@@ -1230,8 +1319,8 @@ export const TextEditor_20250429 = Tool.providerDefined({
1230
1319
  *
1231
1320
  * NOTE: This version does NOT support the `undo_edit` command.
1232
1321
  *
1233
- * @since 1.0.0
1234
1322
  * @category Text Editor
1323
+ * @since 4.0.0
1235
1324
  */
1236
1325
  export const TextEditor_20250728 = Tool.providerDefined({
1237
1326
  id: "anthropic.text_editor_20250728",
@@ -1257,8 +1346,8 @@ export const TextEditor_20250728 = Tool.providerDefined({
1257
1346
  * Providing location helps return more relevant results for location-dependent
1258
1347
  * queries like weather, local businesses, events, etc.
1259
1348
  *
1260
- * @since 1.0.0
1261
1349
  * @category Web Search
1350
+ * @since 4.0.0
1262
1351
  */
1263
1352
  export const WebSearchUserLocation = Schema.Struct({
1264
1353
  /**
@@ -1290,8 +1379,8 @@ export const WebSearchUserLocation = Schema.Struct({
1290
1379
  /**
1291
1380
  * Configuration arguments for the web search tool.
1292
1381
  *
1293
- * @since 1.0.0
1294
1382
  * @category Web Search
1383
+ * @since 4.0.0
1295
1384
  */
1296
1385
  export const WebSearch_20250305_Args = Schema.Struct({
1297
1386
  /**
@@ -1316,8 +1405,10 @@ export const WebSearch_20250305_Args = Schema.Struct({
1316
1405
  userLocation: Schema.optional(WebSearchUserLocation)
1317
1406
  })
1318
1407
  /**
1319
- * @since 1.0.0
1408
+ * Configuration arguments for the Anthropic web search tool, including usage limits, domain filters, and optional user location.
1409
+ *
1320
1410
  * @category Web Search
1411
+ * @since 4.0.0
1321
1412
  */
1322
1413
  export type WebSearch_20250305_Args = typeof WebSearch_20250305_Args.Type
1323
1414
 
@@ -1328,8 +1419,8 @@ export type WebSearch_20250305_Args = typeof WebSearch_20250305_Args.Type
1328
1419
  /**
1329
1420
  * Input parameters for a web search.
1330
1421
  *
1331
- * @since 1.0.0
1332
1422
  * @category Web Search
1423
+ * @since 4.0.0
1333
1424
  */
1334
1425
  export const WebSearchParameters = Schema.Struct({
1335
1426
  /**
@@ -1338,8 +1429,13 @@ export const WebSearchParameters = Schema.Struct({
1338
1429
  query: Schema.String
1339
1430
  })
1340
1431
  /**
1341
- * @since 1.0.0
1432
+ * Type of the parameters Claude supplies when invoking the Anthropic web search tool.
1433
+ *
1434
+ * **Details**
1435
+ * Contains the generated search query used by `WebSearch_20250305`.
1436
+ *
1342
1437
  * @category Web Search
1438
+ * @since 4.0.0
1343
1439
  */
1344
1440
  export type WebSearchParameters = typeof WebSearchParameters.Type
1345
1441
 
@@ -1355,8 +1451,8 @@ export type WebSearchParameters = typeof WebSearchParameters.Type
1355
1451
  *
1356
1452
  * Generally available (no beta header required).
1357
1453
  *
1358
- * @since 1.0.0
1359
1454
  * @category Web Search
1455
+ * @since 4.0.0
1360
1456
  */
1361
1457
  export const WebSearch_20250305 = Tool.providerDefined({
1362
1458
  id: "anthropic.web_search_20250305",
@@ -1379,8 +1475,8 @@ export const WebSearch_20250305 = Tool.providerDefined({
1379
1475
  /**
1380
1476
  * Citation configuration for web fetch.
1381
1477
  *
1382
- * @since 1.0.0
1383
1478
  * @category Web Fetch
1479
+ * @since 4.0.0
1384
1480
  */
1385
1481
  export const WebFetchCitationsConfig = Schema.Struct({
1386
1482
  /**
@@ -1389,8 +1485,10 @@ export const WebFetchCitationsConfig = Schema.Struct({
1389
1485
  enabled: Schema.Boolean
1390
1486
  })
1391
1487
  /**
1392
- * @since 1.0.0
1488
+ * Configuration payload for enabling or disabling citations on web fetch results.
1489
+ *
1393
1490
  * @category Web Fetch
1491
+ * @since 4.0.0
1394
1492
  */
1395
1493
  export type WebFetchCitationsConfig = typeof WebFetchCitationsConfig.Type
1396
1494
 
@@ -1401,8 +1499,8 @@ export type WebFetchCitationsConfig = typeof WebFetchCitationsConfig.Type
1401
1499
  /**
1402
1500
  * Configuration arguments for the web fetch tool.
1403
1501
  *
1404
- * @since 1.0.0
1405
1502
  * @category Web Fetch
1503
+ * @since 4.0.0
1406
1504
  */
1407
1505
  export const WebFetch_20250910_Args = Schema.Struct({
1408
1506
  /**
@@ -1431,8 +1529,10 @@ export const WebFetch_20250910_Args = Schema.Struct({
1431
1529
  maxContentTokens: Schema.optional(Schema.Number)
1432
1530
  })
1433
1531
  /**
1434
- * @since 1.0.0
1532
+ * Configuration arguments for the Anthropic web fetch tool, including usage limits, domain filters, citation settings, and token limits.
1533
+ *
1435
1534
  * @category Web Fetch
1535
+ * @since 4.0.0
1436
1536
  */
1437
1537
  export type WebFetch_20250910_Args = typeof WebFetch_20250910_Args.Type
1438
1538
 
@@ -1443,8 +1543,8 @@ export type WebFetch_20250910_Args = typeof WebFetch_20250910_Args.Type
1443
1543
  /**
1444
1544
  * Input parameters for a web fetch.
1445
1545
  *
1446
- * @since 1.0.0
1447
1546
  * @category Web Fetch
1547
+ * @since 4.0.0
1448
1548
  */
1449
1549
  export const WebFetchParameters = Schema.Struct({
1450
1550
  /**
@@ -1454,8 +1554,10 @@ export const WebFetchParameters = Schema.Struct({
1454
1554
  url: Schema.String
1455
1555
  })
1456
1556
  /**
1457
- * @since 1.0.0
1557
+ * Type of the parameters Claude supplies when invoking the Anthropic web fetch tool.
1558
+ *
1458
1559
  * @category Web Fetch
1560
+ * @since 4.0.0
1459
1561
  */
1460
1562
  export type WebFetchParameters = typeof WebFetchParameters.Type
1461
1563
 
@@ -1471,8 +1573,8 @@ export type WebFetchParameters = typeof WebFetchParameters.Type
1471
1573
  *
1472
1574
  * Requires the "web-fetch-2025-09-10" beta header.
1473
1575
  *
1474
- * @since 1.0.0
1475
1576
  * @category Web Fetch
1577
+ * @since 4.0.0
1476
1578
  */
1477
1579
  export const WebFetch_20250910 = Tool.providerDefined({
1478
1580
  id: "anthropic.web_fetch_20250910",
@@ -1498,8 +1600,8 @@ export const WebFetch_20250910 = Tool.providerDefined({
1498
1600
  * Claude constructs regex patterns using Python's `re.search()` syntax.
1499
1601
  * Maximum query length: 200 characters.
1500
1602
  *
1501
- * @since 1.0.0
1502
1603
  * @category Tool Search
1604
+ * @since 4.0.0
1503
1605
  */
1504
1606
  export const ToolSearchRegexParameters = Schema.Struct({
1505
1607
  /**
@@ -1508,16 +1610,18 @@ export const ToolSearchRegexParameters = Schema.Struct({
1508
1610
  query: Schema.String
1509
1611
  })
1510
1612
  /**
1511
- * @since 1.0.0
1613
+ * Type of the parameters Claude supplies when invoking regex-based Anthropic tool search.
1614
+ *
1512
1615
  * @category Tool Search
1616
+ * @since 4.0.0
1513
1617
  */
1514
1618
  export type ToolSearchRegexParameters = typeof ToolSearchRegexParameters.Type
1515
1619
 
1516
1620
  /**
1517
1621
  * Input parameters for BM25/natural language tool search.
1518
1622
  *
1519
- * @since 1.0.0
1520
1623
  * @category Tool Search
1624
+ * @since 4.0.0
1521
1625
  */
1522
1626
  export const ToolSearchBM25Parameters = Schema.Struct({
1523
1627
  /**
@@ -1526,8 +1630,10 @@ export const ToolSearchBM25Parameters = Schema.Struct({
1526
1630
  query: Schema.String
1527
1631
  })
1528
1632
  /**
1529
- * @since 1.0.0
1633
+ * Type of the parameters Claude supplies when invoking BM25 natural-language Anthropic tool search.
1634
+ *
1530
1635
  * @category Tool Search
1636
+ * @since 4.0.0
1531
1637
  */
1532
1638
  export type ToolSearchBM25Parameters = typeof ToolSearchBM25Parameters.Type
1533
1639
 
@@ -1544,8 +1650,8 @@ export type ToolSearchBM25Parameters = typeof ToolSearchBM25Parameters.Type
1544
1650
  *
1545
1651
  * Requires the "advanced-tool-use-2025-11-20" beta header.
1546
1652
  *
1547
- * @since 1.0.0
1548
1653
  * @category Tool Search
1654
+ * @since 4.0.0
1549
1655
  */
1550
1656
  export const ToolSearchRegex_20251119 = Tool.providerDefined({
1551
1657
  id: "anthropic.tool_search_tool_regex_20251119",
@@ -1565,8 +1671,8 @@ export const ToolSearchRegex_20251119 = Tool.providerDefined({
1565
1671
  *
1566
1672
  * Requires the "advanced-tool-use-2025-11-20" beta header.
1567
1673
  *
1568
- * @since 1.0.0
1569
1674
  * @category Tool Search
1675
+ * @since 4.0.0
1570
1676
  */
1571
1677
  export const ToolSearchBM25_20251119 = Tool.providerDefined({
1572
1678
  id: "anthropic.tool_search_tool_bm25_20251119",