@effect/ai-anthropic 4.0.0-beta.69 → 4.0.0-beta.70
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.
- package/dist/AnthropicClient.d.ts +29 -55
- package/dist/AnthropicClient.d.ts.map +1 -1
- package/dist/AnthropicClient.js +4 -6
- package/dist/AnthropicClient.js.map +1 -1
- package/dist/AnthropicConfig.d.ts +1 -0
- package/dist/AnthropicConfig.d.ts.map +1 -1
- package/dist/AnthropicConfig.js.map +1 -1
- package/dist/AnthropicError.d.ts +33 -22
- package/dist/AnthropicError.d.ts.map +1 -1
- package/dist/AnthropicLanguageModel.d.ts +48 -0
- package/dist/AnthropicLanguageModel.d.ts.map +1 -1
- package/dist/AnthropicLanguageModel.js +3 -1
- package/dist/AnthropicLanguageModel.js.map +1 -1
- package/dist/AnthropicTelemetry.d.ts +10 -5
- package/dist/AnthropicTelemetry.d.ts.map +1 -1
- package/dist/AnthropicTelemetry.js +3 -1
- package/dist/AnthropicTelemetry.js.map +1 -1
- package/dist/AnthropicTool.d.ts +78 -24
- package/dist/AnthropicTool.d.ts.map +1 -1
- package/dist/AnthropicTool.js +71 -21
- package/dist/AnthropicTool.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/src/AnthropicClient.ts +29 -55
- package/src/AnthropicConfig.ts +1 -0
- package/src/AnthropicError.ts +33 -22
- package/src/AnthropicLanguageModel.ts +49 -1
- package/src/AnthropicTelemetry.ts +10 -5
- package/src/AnthropicTool.ts +78 -24
- package/src/index.ts +1 -1
package/dist/AnthropicTool.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ export type AnthropicTool = ReturnType<typeof Bash_20241022> | ReturnType<typeof
|
|
|
18
18
|
/**
|
|
19
19
|
* Anthropic Bash tool (2024-10-22 version).
|
|
20
20
|
*
|
|
21
|
+
* **Details**
|
|
22
|
+
*
|
|
21
23
|
* Allows the model to execute bash commands in a sandboxed environment.
|
|
22
24
|
* Requires the "computer-use-2024-10-22" beta header.
|
|
23
25
|
*
|
|
@@ -39,6 +41,8 @@ export declare const Bash_20241022: <Mode extends Tool.FailureMode | undefined =
|
|
|
39
41
|
/**
|
|
40
42
|
* Anthropic Bash tool (2025-01-24 version).
|
|
41
43
|
*
|
|
44
|
+
* **Details**
|
|
45
|
+
*
|
|
42
46
|
* Allows the model to execute bash commands in a sandboxed environment.
|
|
43
47
|
* Requires the "computer-use-2025-01-24" beta header.
|
|
44
48
|
*
|
|
@@ -194,6 +198,8 @@ export type CodeExecution_20250825_Parameters = typeof CodeExecution_20250825_Pa
|
|
|
194
198
|
/**
|
|
195
199
|
* Anthropic Code Execution tool (2025-05-22 version).
|
|
196
200
|
*
|
|
201
|
+
* **Details**
|
|
202
|
+
*
|
|
197
203
|
* Allows the model to execute code in a sandboxed environment with support
|
|
198
204
|
* for multiple execution types including programmatic tool calls, bash
|
|
199
205
|
* execution, and text editor operations.
|
|
@@ -268,6 +274,8 @@ export declare const CodeExecution_20250522: <Mode extends Tool.FailureMode | un
|
|
|
268
274
|
/**
|
|
269
275
|
* Anthropic Code Execution tool (2025-08-25 version).
|
|
270
276
|
*
|
|
277
|
+
* **Details**
|
|
278
|
+
*
|
|
271
279
|
* Allows the model to execute code in a sandboxed environment.
|
|
272
280
|
*
|
|
273
281
|
* @category Code Execution
|
|
@@ -555,7 +563,9 @@ export type ComputerUseLeftClickDragAction = typeof ComputerUseLeftClickDragActi
|
|
|
555
563
|
/**
|
|
556
564
|
* Press the left mouse button down (without releasing).
|
|
557
565
|
*
|
|
558
|
-
*
|
|
566
|
+
* **When to use**
|
|
567
|
+
*
|
|
568
|
+
* Use this for fine-grained click control.
|
|
559
569
|
*
|
|
560
570
|
* @category Computer Use
|
|
561
571
|
* @since 4.0.0
|
|
@@ -578,7 +588,9 @@ export type ComputerUseLeftMouseDownAction = typeof ComputerUseLeftMouseDownActi
|
|
|
578
588
|
/**
|
|
579
589
|
* Release the left mouse button.
|
|
580
590
|
*
|
|
581
|
-
*
|
|
591
|
+
* **When to use**
|
|
592
|
+
*
|
|
593
|
+
* Use this for fine-grained click control.
|
|
582
594
|
*
|
|
583
595
|
* @category Computer Use
|
|
584
596
|
* @since 4.0.0
|
|
@@ -713,6 +725,8 @@ export type ComputerUseWaitAction = typeof ComputerUseWaitAction.Type;
|
|
|
713
725
|
/**
|
|
714
726
|
* Zoom into a specific region of the screen at full resolution.
|
|
715
727
|
*
|
|
728
|
+
* **Details**
|
|
729
|
+
*
|
|
716
730
|
* Requires `enableZoom: true` in the tool definition.
|
|
717
731
|
*
|
|
718
732
|
* @category Computer Use
|
|
@@ -729,7 +743,8 @@ export declare const ComputerUseZoomAction: Schema.Struct<{
|
|
|
729
743
|
/**
|
|
730
744
|
* Computer-use action payload for zooming into a specific screen region.
|
|
731
745
|
*
|
|
732
|
-
* **
|
|
746
|
+
* **Details**
|
|
747
|
+
*
|
|
733
748
|
* The enclosing computer-use tool must be configured with `enableZoom: true`.
|
|
734
749
|
*
|
|
735
750
|
* @category Computer Use
|
|
@@ -739,8 +754,9 @@ export type ComputerUseZoomAction = typeof ComputerUseZoomAction.Type;
|
|
|
739
754
|
/**
|
|
740
755
|
* Computer use tool for Claude 3.5 Sonnet v2 (deprecated).
|
|
741
756
|
*
|
|
742
|
-
*
|
|
757
|
+
* **Details**
|
|
743
758
|
*
|
|
759
|
+
* Requires the "computer-use-2024-10-22" beta header.
|
|
744
760
|
* Basic actions only: screenshot, left_click, type, key, mouse_move.
|
|
745
761
|
*
|
|
746
762
|
* @category Computer Use
|
|
@@ -803,8 +819,9 @@ export declare const ComputerUse_20241022: <Mode extends Tool.FailureMode | unde
|
|
|
803
819
|
/**
|
|
804
820
|
* Computer use tool for Claude 4 models and Claude Sonnet 3.7.
|
|
805
821
|
*
|
|
806
|
-
*
|
|
822
|
+
* **Details**
|
|
807
823
|
*
|
|
824
|
+
* Requires the "computer-use-2025-01-24" beta header.
|
|
808
825
|
* Includes basic actions plus enhanced actions: scroll, left_click_drag,
|
|
809
826
|
* right_click, middle_click, double_click, triple_click, left_mouse_down,
|
|
810
827
|
* left_mouse_up, hold_key, wait.
|
|
@@ -952,8 +969,9 @@ export declare const ComputerUse_20250124: <Mode extends Tool.FailureMode | unde
|
|
|
952
969
|
/**
|
|
953
970
|
* Computer use tool for Claude Opus 4.5 only.
|
|
954
971
|
*
|
|
955
|
-
*
|
|
972
|
+
* **Details**
|
|
956
973
|
*
|
|
974
|
+
* Requires the "computer-use-2025-11-24" beta header.
|
|
957
975
|
* Includes all actions from computer_20250124 plus the zoom action for
|
|
958
976
|
* detailed screen region inspection. Requires `enableZoom: true` in args.
|
|
959
977
|
*
|
|
@@ -1109,10 +1127,11 @@ export declare const ComputerUse_20251124: <Mode extends Tool.FailureMode | unde
|
|
|
1109
1127
|
/**
|
|
1110
1128
|
* A `[start, end]` line range for viewing file contents.
|
|
1111
1129
|
*
|
|
1112
|
-
*
|
|
1130
|
+
* **Details**
|
|
1113
1131
|
*
|
|
1114
|
-
* -
|
|
1115
|
-
* - `[100, -1]
|
|
1132
|
+
* Lines are 1-indexed. Use -1 for end to read to the end of the file. For
|
|
1133
|
+
* example, `[1, 50]` views lines 1-50 and `[100, -1]` views from line 100 to
|
|
1134
|
+
* the end of the file.
|
|
1116
1135
|
*
|
|
1117
1136
|
* @category Memory
|
|
1118
1137
|
* @since 4.0.0
|
|
@@ -1272,6 +1291,8 @@ export type MemoryViewCommand = typeof MemoryViewCommand.Type;
|
|
|
1272
1291
|
/**
|
|
1273
1292
|
* Memory tool for persistent file operations across conversations.
|
|
1274
1293
|
*
|
|
1294
|
+
* **Details**
|
|
1295
|
+
*
|
|
1275
1296
|
* Provides commands for creating, viewing, editing, renaming, and deleting
|
|
1276
1297
|
* files within the model's memory space.
|
|
1277
1298
|
*
|
|
@@ -1348,8 +1369,10 @@ export declare const Memory_20250818: <Mode extends Tool.FailureMode | undefined
|
|
|
1348
1369
|
/**
|
|
1349
1370
|
* View the contents of a file or list directory contents.
|
|
1350
1371
|
*
|
|
1351
|
-
*
|
|
1352
|
-
*
|
|
1372
|
+
* **Details**
|
|
1373
|
+
*
|
|
1374
|
+
* When used on a file, returns the file contents, optionally limited to a line
|
|
1375
|
+
* range. When used on a directory, lists all files and subdirectories.
|
|
1353
1376
|
*
|
|
1354
1377
|
* @category Text Editor
|
|
1355
1378
|
* @since 4.0.0
|
|
@@ -1376,7 +1399,9 @@ export type TextEditorViewCommand = typeof TextEditorViewCommand.Type;
|
|
|
1376
1399
|
/**
|
|
1377
1400
|
* Create a new file with specified content.
|
|
1378
1401
|
*
|
|
1379
|
-
*
|
|
1402
|
+
* **Gotchas**
|
|
1403
|
+
*
|
|
1404
|
+
* Fails if the file already exists. Parent directories must exist.
|
|
1380
1405
|
*
|
|
1381
1406
|
* @category Text Editor
|
|
1382
1407
|
* @since 4.0.0
|
|
@@ -1395,7 +1420,8 @@ export declare const TextEditorCreateCommand: Schema.Struct<{
|
|
|
1395
1420
|
/**
|
|
1396
1421
|
* Text editor command payload for creating a new file with the specified content.
|
|
1397
1422
|
*
|
|
1398
|
-
* **
|
|
1423
|
+
* **Gotchas**
|
|
1424
|
+
*
|
|
1399
1425
|
* The command fails if the file already exists or if parent directories are missing.
|
|
1400
1426
|
*
|
|
1401
1427
|
* @category Text Editor
|
|
@@ -1405,6 +1431,8 @@ export type TextEditorCreateCommand = typeof TextEditorCreateCommand.Type;
|
|
|
1405
1431
|
/**
|
|
1406
1432
|
* Replace a specific string in a file with a new string.
|
|
1407
1433
|
*
|
|
1434
|
+
* **Gotchas**
|
|
1435
|
+
*
|
|
1408
1436
|
* The `old_str` must match exactly (including whitespace and indentation)
|
|
1409
1437
|
* and must be unique in the file.
|
|
1410
1438
|
*
|
|
@@ -1436,6 +1464,8 @@ export type TextEditorStrReplaceCommand = typeof TextEditorStrReplaceCommand.Typ
|
|
|
1436
1464
|
/**
|
|
1437
1465
|
* Insert text at a specific line number in a file.
|
|
1438
1466
|
*
|
|
1467
|
+
* **Details**
|
|
1468
|
+
*
|
|
1439
1469
|
* Inserts the new text AFTER the specified line number.
|
|
1440
1470
|
*
|
|
1441
1471
|
* @category Text Editor
|
|
@@ -1466,10 +1496,14 @@ export type TextEditorInsertCommand = typeof TextEditorInsertCommand.Type;
|
|
|
1466
1496
|
/**
|
|
1467
1497
|
* Undo the last edit made to a file.
|
|
1468
1498
|
*
|
|
1499
|
+
* **Details**
|
|
1500
|
+
*
|
|
1469
1501
|
* Reverts the most recent str_replace, insert, or create operation on the file.
|
|
1470
1502
|
*
|
|
1471
|
-
*
|
|
1472
|
-
*
|
|
1503
|
+
* **Gotchas**
|
|
1504
|
+
*
|
|
1505
|
+
* This command is available in text_editor_20241022 and text_editor_20250124,
|
|
1506
|
+
* but not in text_editor_20250728 (Claude 4 models).
|
|
1473
1507
|
*
|
|
1474
1508
|
* @category Text Editor
|
|
1475
1509
|
* @since 4.0.0
|
|
@@ -1484,7 +1518,8 @@ export declare const TextEditorUndoEditCommand: Schema.Struct<{
|
|
|
1484
1518
|
/**
|
|
1485
1519
|
* Text editor command payload for undoing the most recent edit to a file.
|
|
1486
1520
|
*
|
|
1487
|
-
* **
|
|
1521
|
+
* **Gotchas**
|
|
1522
|
+
*
|
|
1488
1523
|
* Available for `text_editor_20241022` and `text_editor_20250124`, but not for Claude 4 text editor versions.
|
|
1489
1524
|
*
|
|
1490
1525
|
* @category Text Editor
|
|
@@ -1494,6 +1529,8 @@ export type TextEditorUndoEditCommand = typeof TextEditorUndoEditCommand.Type;
|
|
|
1494
1529
|
/**
|
|
1495
1530
|
* Text editor tool for Claude 3.5 Sonnet (deprecated).
|
|
1496
1531
|
*
|
|
1532
|
+
* **Details**
|
|
1533
|
+
*
|
|
1497
1534
|
* Requires the "computer-use-2024-10-22" beta header.
|
|
1498
1535
|
*
|
|
1499
1536
|
* @category Text Editor
|
|
@@ -1566,7 +1603,8 @@ export declare const TextEditor_20241022: <Mode extends Tool.FailureMode | undef
|
|
|
1566
1603
|
/**
|
|
1567
1604
|
* Text editor tool for Claude Sonnet 3.7 (deprecated model).
|
|
1568
1605
|
*
|
|
1569
|
-
* **
|
|
1606
|
+
* **Details**
|
|
1607
|
+
*
|
|
1570
1608
|
* Requires the "computer-use-2025-01-24" beta header.
|
|
1571
1609
|
*
|
|
1572
1610
|
* @category Text Editor
|
|
@@ -1639,8 +1677,13 @@ export declare const TextEditor_20250124: <Mode extends Tool.FailureMode | undef
|
|
|
1639
1677
|
/**
|
|
1640
1678
|
* Text editor tool for Claude 4 models using Anthropic's `str_replace_based_edit_tool`.
|
|
1641
1679
|
*
|
|
1642
|
-
* **
|
|
1643
|
-
*
|
|
1680
|
+
* **Details**
|
|
1681
|
+
*
|
|
1682
|
+
* Requires the "computer-use-2025-01-24" beta header.
|
|
1683
|
+
*
|
|
1684
|
+
* **Gotchas**
|
|
1685
|
+
*
|
|
1686
|
+
* This version does not support the `undo_edit` command.
|
|
1644
1687
|
*
|
|
1645
1688
|
* @category Text Editor
|
|
1646
1689
|
* @since 4.0.0
|
|
@@ -1713,7 +1756,9 @@ export declare const TextEditor_20250429: <Mode extends Tool.FailureMode | undef
|
|
|
1713
1756
|
/**
|
|
1714
1757
|
* Text editor tool for Claude 4 models.
|
|
1715
1758
|
*
|
|
1716
|
-
*
|
|
1759
|
+
* **Gotchas**
|
|
1760
|
+
*
|
|
1761
|
+
* This version does not support the `undo_edit` command.
|
|
1717
1762
|
*
|
|
1718
1763
|
* @category Text Editor
|
|
1719
1764
|
* @since 4.0.0
|
|
@@ -1786,6 +1831,8 @@ export declare const TextEditor_20250728: <Mode extends Tool.FailureMode | undef
|
|
|
1786
1831
|
/**
|
|
1787
1832
|
* User location for localizing search results.
|
|
1788
1833
|
*
|
|
1834
|
+
* **When to use**
|
|
1835
|
+
*
|
|
1789
1836
|
* Providing location helps return more relevant results for location-dependent
|
|
1790
1837
|
* queries like weather, local businesses, events, etc.
|
|
1791
1838
|
*
|
|
@@ -1886,6 +1933,7 @@ export declare const WebSearchParameters: Schema.Struct<{
|
|
|
1886
1933
|
* Type of the parameters Claude supplies when invoking the Anthropic web search tool.
|
|
1887
1934
|
*
|
|
1888
1935
|
* **Details**
|
|
1936
|
+
*
|
|
1889
1937
|
* Contains the generated search query used by `WebSearch_20250305`.
|
|
1890
1938
|
*
|
|
1891
1939
|
* @category Web Search
|
|
@@ -1895,9 +1943,10 @@ export type WebSearchParameters = typeof WebSearchParameters.Type;
|
|
|
1895
1943
|
/**
|
|
1896
1944
|
* Web search tool for Claude models.
|
|
1897
1945
|
*
|
|
1946
|
+
* **Details**
|
|
1947
|
+
*
|
|
1898
1948
|
* Enables Claude to search the web for real-time information. This is a
|
|
1899
1949
|
* server-side tool executed by Anthropic's infrastructure.
|
|
1900
|
-
*
|
|
1901
1950
|
* Generally available (no beta header required).
|
|
1902
1951
|
*
|
|
1903
1952
|
* @category Web Search
|
|
@@ -2063,9 +2112,10 @@ export type WebFetchParameters = typeof WebFetchParameters.Type;
|
|
|
2063
2112
|
/**
|
|
2064
2113
|
* Web fetch tool for Claude models.
|
|
2065
2114
|
*
|
|
2115
|
+
* **Details**
|
|
2116
|
+
*
|
|
2066
2117
|
* Allows Claude to retrieve full content from web pages and PDF documents.
|
|
2067
2118
|
* This is a server-side tool executed by Anthropic's infrastructure.
|
|
2068
|
-
*
|
|
2069
2119
|
* Requires the "web-fetch-2025-09-10" beta header.
|
|
2070
2120
|
*
|
|
2071
2121
|
* @category Web Fetch
|
|
@@ -2148,6 +2198,8 @@ export declare const WebFetch_20250910: <Mode extends Tool.FailureMode | undefin
|
|
|
2148
2198
|
/**
|
|
2149
2199
|
* Input parameters for regex-based tool search.
|
|
2150
2200
|
*
|
|
2201
|
+
* **Details**
|
|
2202
|
+
*
|
|
2151
2203
|
* Claude constructs regex patterns using Python's `re.search()` syntax.
|
|
2152
2204
|
* Maximum query length: 200 characters.
|
|
2153
2205
|
*
|
|
@@ -2189,10 +2241,11 @@ export type ToolSearchBM25Parameters = typeof ToolSearchBM25Parameters.Type;
|
|
|
2189
2241
|
/**
|
|
2190
2242
|
* Regex-based tool search for Claude models.
|
|
2191
2243
|
*
|
|
2244
|
+
* **Details**
|
|
2245
|
+
*
|
|
2192
2246
|
* Claude constructs regex patterns using Python's `re.search()` syntax to
|
|
2193
2247
|
* find tools. The regex is matched against tool names, descriptions,
|
|
2194
2248
|
* argument names, and argument descriptions.
|
|
2195
|
-
*
|
|
2196
2249
|
* Requires the "advanced-tool-use-2025-11-20" beta header.
|
|
2197
2250
|
*
|
|
2198
2251
|
* @category Tool Search
|
|
@@ -2224,10 +2277,11 @@ export declare const ToolSearchRegex_20251119: <Mode extends Tool.FailureMode |
|
|
|
2224
2277
|
/**
|
|
2225
2278
|
* BM25/natural language tool search for Claude models.
|
|
2226
2279
|
*
|
|
2280
|
+
* **Details**
|
|
2281
|
+
*
|
|
2227
2282
|
* Claude uses natural language queries to search for tools using the
|
|
2228
2283
|
* BM25 algorithm. The search is performed against tool names, descriptions,
|
|
2229
2284
|
* argument names, and argument descriptions.
|
|
2230
|
-
*
|
|
2231
2285
|
* Requires the "advanced-tool-use-2025-11-20" beta header.
|
|
2232
2286
|
*
|
|
2233
2287
|
* @category Tool Search
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnthropicTool.d.ts","sourceRoot":"","sources":["../src/AnthropicTool.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,IAAI,MAAM,yBAAyB,CAAA;AAG/C;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GACrB,UAAU,CAAC,OAAO,aAAa,CAAC,GAChC,UAAU,CAAC,OAAO,aAAa,CAAC,GAChC,UAAU,CAAC,OAAO,sBAAsB,CAAC,GACzC,UAAU,CAAC,OAAO,sBAAsB,CAAC,GACzC,UAAU,CAAC,OAAO,oBAAoB,CAAC,GACvC,UAAU,CAAC,OAAO,oBAAoB,CAAC,GACvC,UAAU,CAAC,OAAO,oBAAoB,C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H,CAAA;AACF;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAA;AAM/D;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;QA1E5B;;WAEG;;QAEH;;;;WAIG;;QAEH;;;;WAIG;;QAEH;;WAEG;;YA1CH;;eAEG;;;QA0CH;;WAEG;;;;QAsBH;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAmCH,CAAA;AAUF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,yBAAyB;IACpC;;OAEG;;EAEH,CAAA;AACF;;;;;GAKG;AACH,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAA;AAE7E;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB;IACnC;;OAEG;;EAEH,CAAA;AACF;;;;;GAKG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAA;AAM3E;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,wBAAwB;;;QAlDnC;;WAEG;;;;;;;;;;;;;;;;;SAuDH,CAAA;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,uBAAuB;;;QApDlC;;WAEG;;;;;;;;;;;;;;;;;SAyDH,CAAA"}
|
package/dist/AnthropicTool.js
CHANGED
|
@@ -15,6 +15,8 @@ import * as Generated from "./Generated.js";
|
|
|
15
15
|
/**
|
|
16
16
|
* Anthropic Bash tool (2024-10-22 version).
|
|
17
17
|
*
|
|
18
|
+
* **Details**
|
|
19
|
+
*
|
|
18
20
|
* Allows the model to execute bash commands in a sandboxed environment.
|
|
19
21
|
* Requires the "computer-use-2024-10-22" beta header.
|
|
20
22
|
*
|
|
@@ -35,6 +37,8 @@ export const Bash_20241022 = /*#__PURE__*/Tool.providerDefined({
|
|
|
35
37
|
/**
|
|
36
38
|
* Anthropic Bash tool (2025-01-24 version).
|
|
37
39
|
*
|
|
40
|
+
* **Details**
|
|
41
|
+
*
|
|
38
42
|
* Allows the model to execute bash commands in a sandboxed environment.
|
|
39
43
|
* Requires the "computer-use-2025-01-24" beta header.
|
|
40
44
|
*
|
|
@@ -160,6 +164,8 @@ export const CodeExecution_20250825_Parameters = /*#__PURE__*/Schema.Struct({
|
|
|
160
164
|
/**
|
|
161
165
|
* Anthropic Code Execution tool (2025-05-22 version).
|
|
162
166
|
*
|
|
167
|
+
* **Details**
|
|
168
|
+
*
|
|
163
169
|
* Allows the model to execute code in a sandboxed environment with support
|
|
164
170
|
* for multiple execution types including programmatic tool calls, bash
|
|
165
171
|
* execution, and text editor operations.
|
|
@@ -178,6 +184,8 @@ export const CodeExecution_20250522 = /*#__PURE__*/Tool.providerDefined({
|
|
|
178
184
|
/**
|
|
179
185
|
* Anthropic Code Execution tool (2025-08-25 version).
|
|
180
186
|
*
|
|
187
|
+
* **Details**
|
|
188
|
+
*
|
|
181
189
|
* Allows the model to execute code in a sandboxed environment.
|
|
182
190
|
*
|
|
183
191
|
* @category Code Execution
|
|
@@ -368,7 +376,9 @@ export const ComputerUseLeftClickDragAction = /*#__PURE__*/Schema.Struct({
|
|
|
368
376
|
/**
|
|
369
377
|
* Press the left mouse button down (without releasing).
|
|
370
378
|
*
|
|
371
|
-
*
|
|
379
|
+
* **When to use**
|
|
380
|
+
*
|
|
381
|
+
* Use this for fine-grained click control.
|
|
372
382
|
*
|
|
373
383
|
* @category Computer Use
|
|
374
384
|
* @since 4.0.0
|
|
@@ -384,7 +394,9 @@ export const ComputerUseLeftMouseDownAction = /*#__PURE__*/Schema.Struct({
|
|
|
384
394
|
/**
|
|
385
395
|
* Release the left mouse button.
|
|
386
396
|
*
|
|
387
|
-
*
|
|
397
|
+
* **When to use**
|
|
398
|
+
*
|
|
399
|
+
* Use this for fine-grained click control.
|
|
388
400
|
*
|
|
389
401
|
* @category Computer Use
|
|
390
402
|
* @since 4.0.0
|
|
@@ -481,6 +493,8 @@ const ComputerUse_20250124_Actions = /*#__PURE__*/Schema.Union([...ComputerUse_2
|
|
|
481
493
|
/**
|
|
482
494
|
* Zoom into a specific region of the screen at full resolution.
|
|
483
495
|
*
|
|
496
|
+
* **Details**
|
|
497
|
+
*
|
|
484
498
|
* Requires `enableZoom: true` in the tool definition.
|
|
485
499
|
*
|
|
486
500
|
* @category Computer Use
|
|
@@ -501,8 +515,9 @@ const ComputerUse_20251124_Actions = /*#__PURE__*/Schema.Union([...ComputerUse_2
|
|
|
501
515
|
/**
|
|
502
516
|
* Computer use tool for Claude 3.5 Sonnet v2 (deprecated).
|
|
503
517
|
*
|
|
504
|
-
*
|
|
518
|
+
* **Details**
|
|
505
519
|
*
|
|
520
|
+
* Requires the "computer-use-2024-10-22" beta header.
|
|
506
521
|
* Basic actions only: screenshot, left_click, type, key, mouse_move.
|
|
507
522
|
*
|
|
508
523
|
* @category Computer Use
|
|
@@ -520,8 +535,9 @@ export const ComputerUse_20241022 = /*#__PURE__*/Tool.providerDefined({
|
|
|
520
535
|
/**
|
|
521
536
|
* Computer use tool for Claude 4 models and Claude Sonnet 3.7.
|
|
522
537
|
*
|
|
523
|
-
*
|
|
538
|
+
* **Details**
|
|
524
539
|
*
|
|
540
|
+
* Requires the "computer-use-2025-01-24" beta header.
|
|
525
541
|
* Includes basic actions plus enhanced actions: scroll, left_click_drag,
|
|
526
542
|
* right_click, middle_click, double_click, triple_click, left_mouse_down,
|
|
527
543
|
* left_mouse_up, hold_key, wait.
|
|
@@ -541,8 +557,9 @@ export const ComputerUse_20250124 = /*#__PURE__*/Tool.providerDefined({
|
|
|
541
557
|
/**
|
|
542
558
|
* Computer use tool for Claude Opus 4.5 only.
|
|
543
559
|
*
|
|
544
|
-
*
|
|
560
|
+
* **Details**
|
|
545
561
|
*
|
|
562
|
+
* Requires the "computer-use-2025-11-24" beta header.
|
|
546
563
|
* Includes all actions from computer_20250124 plus the zoom action for
|
|
547
564
|
* detailed screen region inspection. Requires `enableZoom: true` in args.
|
|
548
565
|
*
|
|
@@ -567,10 +584,11 @@ export const ComputerUse_20251124 = /*#__PURE__*/Tool.providerDefined({
|
|
|
567
584
|
/**
|
|
568
585
|
* A `[start, end]` line range for viewing file contents.
|
|
569
586
|
*
|
|
570
|
-
*
|
|
587
|
+
* **Details**
|
|
571
588
|
*
|
|
572
|
-
* -
|
|
573
|
-
* - `[100, -1]
|
|
589
|
+
* Lines are 1-indexed. Use -1 for end to read to the end of the file. For
|
|
590
|
+
* example, `[1, 50]` views lines 1-50 and `[100, -1]` views from line 100 to
|
|
591
|
+
* the end of the file.
|
|
574
592
|
*
|
|
575
593
|
* @category Memory
|
|
576
594
|
* @since 4.0.0
|
|
@@ -688,6 +706,8 @@ const Memory_20250818_Commands = /*#__PURE__*/Schema.Union([MemoryCreateCommand,
|
|
|
688
706
|
/**
|
|
689
707
|
* Memory tool for persistent file operations across conversations.
|
|
690
708
|
*
|
|
709
|
+
* **Details**
|
|
710
|
+
*
|
|
691
711
|
* Provides commands for creating, viewing, editing, renaming, and deleting
|
|
692
712
|
* files within the model's memory space.
|
|
693
713
|
*
|
|
@@ -710,8 +730,10 @@ export const Memory_20250818 = /*#__PURE__*/Tool.providerDefined({
|
|
|
710
730
|
/**
|
|
711
731
|
* View the contents of a file or list directory contents.
|
|
712
732
|
*
|
|
713
|
-
*
|
|
714
|
-
*
|
|
733
|
+
* **Details**
|
|
734
|
+
*
|
|
735
|
+
* When used on a file, returns the file contents, optionally limited to a line
|
|
736
|
+
* range. When used on a directory, lists all files and subdirectories.
|
|
715
737
|
*
|
|
716
738
|
* @category Text Editor
|
|
717
739
|
* @since 4.0.0
|
|
@@ -731,7 +753,9 @@ export const TextEditorViewCommand = /*#__PURE__*/Schema.Struct({
|
|
|
731
753
|
/**
|
|
732
754
|
* Create a new file with specified content.
|
|
733
755
|
*
|
|
734
|
-
*
|
|
756
|
+
* **Gotchas**
|
|
757
|
+
*
|
|
758
|
+
* Fails if the file already exists. Parent directories must exist.
|
|
735
759
|
*
|
|
736
760
|
* @category Text Editor
|
|
737
761
|
* @since 4.0.0
|
|
@@ -750,6 +774,8 @@ export const TextEditorCreateCommand = /*#__PURE__*/Schema.Struct({
|
|
|
750
774
|
/**
|
|
751
775
|
* Replace a specific string in a file with a new string.
|
|
752
776
|
*
|
|
777
|
+
* **Gotchas**
|
|
778
|
+
*
|
|
753
779
|
* The `old_str` must match exactly (including whitespace and indentation)
|
|
754
780
|
* and must be unique in the file.
|
|
755
781
|
*
|
|
@@ -774,6 +800,8 @@ export const TextEditorStrReplaceCommand = /*#__PURE__*/Schema.Struct({
|
|
|
774
800
|
/**
|
|
775
801
|
* Insert text at a specific line number in a file.
|
|
776
802
|
*
|
|
803
|
+
* **Details**
|
|
804
|
+
*
|
|
777
805
|
* Inserts the new text AFTER the specified line number.
|
|
778
806
|
*
|
|
779
807
|
* @category Text Editor
|
|
@@ -797,10 +825,14 @@ export const TextEditorInsertCommand = /*#__PURE__*/Schema.Struct({
|
|
|
797
825
|
/**
|
|
798
826
|
* Undo the last edit made to a file.
|
|
799
827
|
*
|
|
828
|
+
* **Details**
|
|
829
|
+
*
|
|
800
830
|
* Reverts the most recent str_replace, insert, or create operation on the file.
|
|
801
831
|
*
|
|
802
|
-
*
|
|
803
|
-
*
|
|
832
|
+
* **Gotchas**
|
|
833
|
+
*
|
|
834
|
+
* This command is available in text_editor_20241022 and text_editor_20250124,
|
|
835
|
+
* but not in text_editor_20250728 (Claude 4 models).
|
|
804
836
|
*
|
|
805
837
|
* @category Text Editor
|
|
806
838
|
* @since 4.0.0
|
|
@@ -830,6 +862,8 @@ const TextEditor_StrReplaceBasedEdit_Args = /*#__PURE__*/Schema.Struct({
|
|
|
830
862
|
/**
|
|
831
863
|
* Text editor tool for Claude 3.5 Sonnet (deprecated).
|
|
832
864
|
*
|
|
865
|
+
* **Details**
|
|
866
|
+
*
|
|
833
867
|
* Requires the "computer-use-2024-10-22" beta header.
|
|
834
868
|
*
|
|
835
869
|
* @category Text Editor
|
|
@@ -846,7 +880,8 @@ export const TextEditor_20241022 = /*#__PURE__*/Tool.providerDefined({
|
|
|
846
880
|
/**
|
|
847
881
|
* Text editor tool for Claude Sonnet 3.7 (deprecated model).
|
|
848
882
|
*
|
|
849
|
-
* **
|
|
883
|
+
* **Details**
|
|
884
|
+
*
|
|
850
885
|
* Requires the "computer-use-2025-01-24" beta header.
|
|
851
886
|
*
|
|
852
887
|
* @category Text Editor
|
|
@@ -863,8 +898,13 @@ export const TextEditor_20250124 = /*#__PURE__*/Tool.providerDefined({
|
|
|
863
898
|
/**
|
|
864
899
|
* Text editor tool for Claude 4 models using Anthropic's `str_replace_based_edit_tool`.
|
|
865
900
|
*
|
|
866
|
-
* **
|
|
867
|
-
*
|
|
901
|
+
* **Details**
|
|
902
|
+
*
|
|
903
|
+
* Requires the "computer-use-2025-01-24" beta header.
|
|
904
|
+
*
|
|
905
|
+
* **Gotchas**
|
|
906
|
+
*
|
|
907
|
+
* This version does not support the `undo_edit` command.
|
|
868
908
|
*
|
|
869
909
|
* @category Text Editor
|
|
870
910
|
* @since 4.0.0
|
|
@@ -881,7 +921,9 @@ export const TextEditor_20250429 = /*#__PURE__*/Tool.providerDefined({
|
|
|
881
921
|
/**
|
|
882
922
|
* Text editor tool for Claude 4 models.
|
|
883
923
|
*
|
|
884
|
-
*
|
|
924
|
+
* **Gotchas**
|
|
925
|
+
*
|
|
926
|
+
* This version does not support the `undo_edit` command.
|
|
885
927
|
*
|
|
886
928
|
* @category Text Editor
|
|
887
929
|
* @since 4.0.0
|
|
@@ -904,6 +946,8 @@ export const TextEditor_20250728 = /*#__PURE__*/Tool.providerDefined({
|
|
|
904
946
|
/**
|
|
905
947
|
* User location for localizing search results.
|
|
906
948
|
*
|
|
949
|
+
* **When to use**
|
|
950
|
+
*
|
|
907
951
|
* Providing location helps return more relevant results for location-dependent
|
|
908
952
|
* queries like weather, local businesses, events, etc.
|
|
909
953
|
*
|
|
@@ -984,9 +1028,10 @@ export const WebSearchParameters = /*#__PURE__*/Schema.Struct({
|
|
|
984
1028
|
/**
|
|
985
1029
|
* Web search tool for Claude models.
|
|
986
1030
|
*
|
|
1031
|
+
* **Details**
|
|
1032
|
+
*
|
|
987
1033
|
* Enables Claude to search the web for real-time information. This is a
|
|
988
1034
|
* server-side tool executed by Anthropic's infrastructure.
|
|
989
|
-
*
|
|
990
1035
|
* Generally available (no beta header required).
|
|
991
1036
|
*
|
|
992
1037
|
* @category Web Search
|
|
@@ -1076,9 +1121,10 @@ export const WebFetchParameters = /*#__PURE__*/Schema.Struct({
|
|
|
1076
1121
|
/**
|
|
1077
1122
|
* Web fetch tool for Claude models.
|
|
1078
1123
|
*
|
|
1124
|
+
* **Details**
|
|
1125
|
+
*
|
|
1079
1126
|
* Allows Claude to retrieve full content from web pages and PDF documents.
|
|
1080
1127
|
* This is a server-side tool executed by Anthropic's infrastructure.
|
|
1081
|
-
*
|
|
1082
1128
|
* Requires the "web-fetch-2025-09-10" beta header.
|
|
1083
1129
|
*
|
|
1084
1130
|
* @category Web Fetch
|
|
@@ -1102,6 +1148,8 @@ export const WebFetch_20250910 = /*#__PURE__*/Tool.providerDefined({
|
|
|
1102
1148
|
/**
|
|
1103
1149
|
* Input parameters for regex-based tool search.
|
|
1104
1150
|
*
|
|
1151
|
+
* **Details**
|
|
1152
|
+
*
|
|
1105
1153
|
* Claude constructs regex patterns using Python's `re.search()` syntax.
|
|
1106
1154
|
* Maximum query length: 200 characters.
|
|
1107
1155
|
*
|
|
@@ -1132,10 +1180,11 @@ export const ToolSearchBM25Parameters = /*#__PURE__*/Schema.Struct({
|
|
|
1132
1180
|
/**
|
|
1133
1181
|
* Regex-based tool search for Claude models.
|
|
1134
1182
|
*
|
|
1183
|
+
* **Details**
|
|
1184
|
+
*
|
|
1135
1185
|
* Claude constructs regex patterns using Python's `re.search()` syntax to
|
|
1136
1186
|
* find tools. The regex is matched against tool names, descriptions,
|
|
1137
1187
|
* argument names, and argument descriptions.
|
|
1138
|
-
*
|
|
1139
1188
|
* Requires the "advanced-tool-use-2025-11-20" beta header.
|
|
1140
1189
|
*
|
|
1141
1190
|
* @category Tool Search
|
|
@@ -1152,10 +1201,11 @@ export const ToolSearchRegex_20251119 = /*#__PURE__*/Tool.providerDefined({
|
|
|
1152
1201
|
/**
|
|
1153
1202
|
* BM25/natural language tool search for Claude models.
|
|
1154
1203
|
*
|
|
1204
|
+
* **Details**
|
|
1205
|
+
*
|
|
1155
1206
|
* Claude uses natural language queries to search for tools using the
|
|
1156
1207
|
* BM25 algorithm. The search is performed against tool names, descriptions,
|
|
1157
1208
|
* argument names, and argument descriptions.
|
|
1158
|
-
*
|
|
1159
1209
|
* Requires the "advanced-tool-use-2025-11-20" beta header.
|
|
1160
1210
|
*
|
|
1161
1211
|
* @category Tool Search
|