@ai-sdk/anthropic 2.0.13 → 2.0.15

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.
@@ -34,69 +34,62 @@ declare class AnthropicMessagesLanguageModel implements LanguageModelV2 {
34
34
 
35
35
  declare const anthropicTools: {
36
36
  /**
37
- * Creates a tool for running a bash command. Must have name "bash".
37
+ * The bash tool enables Claude to execute shell commands in a persistent bash session,
38
+ * allowing system operations, script execution, and command-line automation.
38
39
  *
39
40
  * Image results are supported.
40
41
  *
41
- * @param execute - The function to execute the tool. Optional.
42
+ * Tool name must be `bash`.
42
43
  */
43
44
  bash_20241022: _ai_sdk_provider_utils.ProviderDefinedToolFactory<{
44
45
  command: string;
45
46
  restart?: boolean;
46
47
  }, {}>;
47
48
  /**
48
- * Creates a tool for running a bash command. Must have name "bash".
49
+ * The bash tool enables Claude to execute shell commands in a persistent bash session,
50
+ * allowing system operations, script execution, and command-line automation.
49
51
  *
50
52
  * Image results are supported.
51
53
  *
52
- * @param execute - The function to execute the tool. Optional.
54
+ * Tool name must be `bash`.
53
55
  */
54
56
  bash_20250124: _ai_sdk_provider_utils.ProviderDefinedToolFactory<{
55
57
  command: string;
56
58
  restart?: boolean;
57
59
  }, {}>;
58
60
  /**
59
- * Creates a tool for editing text. Must have name "str_replace_editor".
60
- */
61
- textEditor_20241022: _ai_sdk_provider_utils.ProviderDefinedToolFactory<{
62
- command: "view" | "create" | "str_replace" | "insert" | "undo_edit";
63
- path: string;
64
- file_text?: string;
65
- insert_line?: number;
66
- new_str?: string;
67
- old_str?: string;
68
- view_range?: number[];
69
- }, {}>;
70
- /**
71
- * Creates a tool for editing text. Must have name "str_replace_editor".
72
- */
73
- textEditor_20250124: _ai_sdk_provider_utils.ProviderDefinedToolFactory<{
74
- command: "view" | "create" | "str_replace" | "insert" | "undo_edit";
75
- path: string;
76
- file_text?: string;
77
- insert_line?: number;
78
- new_str?: string;
79
- old_str?: string;
80
- view_range?: number[];
81
- }, {}>;
82
- /**
83
- * Creates a tool for editing text. Must have name "str_replace_based_edit_tool".
84
- * Note: This version does not support the "undo_edit" command.
61
+ * Claude can analyze data, create visualizations, perform complex calculations,
62
+ * run system commands, create and edit files, and process uploaded files directly within
63
+ * the API conversation.
64
+ *
65
+ * The code execution tool allows Claude to run Bash commands and manipulate files,
66
+ * including writing code, in a secure, sandboxed environment.
67
+ *
68
+ * Tool name must be `code_execution`.
85
69
  */
86
- textEditor_20250429: _ai_sdk_provider_utils.ProviderDefinedToolFactory<{
87
- command: "view" | "create" | "str_replace" | "insert";
88
- path: string;
89
- file_text?: string;
90
- insert_line?: number;
91
- new_str?: string;
92
- old_str?: string;
93
- view_range?: number[];
94
- }, {}>;
70
+ codeExecution_20250522: (args?: Parameters<_ai_sdk_provider_utils.ProviderDefinedToolFactoryWithOutputSchema<{
71
+ code: string;
72
+ }, {
73
+ type: "code_execution_result";
74
+ stdout: string;
75
+ stderr: string;
76
+ return_code: number;
77
+ }, {}>>[0]) => _ai_sdk_provider_utils.Tool<{
78
+ code: string;
79
+ }, {
80
+ type: "code_execution_result";
81
+ stdout: string;
82
+ stderr: string;
83
+ return_code: number;
84
+ }>;
95
85
  /**
96
- * Creates a tool for executing actions on a computer. Must have name "computer".
86
+ * Claude can interact with computer environments through the computer use tool, which
87
+ * provides screenshot capabilities and mouse/keyboard control for autonomous desktop interaction.
97
88
  *
98
89
  * Image results are supported.
99
90
  *
91
+ * Tool name must be `computer`.
92
+ *
100
93
  * @param displayWidthPx - The width of the display being controlled by the model in pixels.
101
94
  * @param displayHeightPx - The height of the display being controlled by the model in pixels.
102
95
  * @param displayNumber - The display number to control (only relevant for X11 environments). If specified, the tool will be provided a display number in the tool definition.
@@ -111,14 +104,16 @@ declare const anthropicTools: {
111
104
  displayNumber?: number;
112
105
  }>;
113
106
  /**
114
- * Creates a tool for executing actions on a computer. Must have name "computer".
107
+ * Claude can interact with computer environments through the computer use tool, which
108
+ * provides screenshot capabilities and mouse/keyboard control for autonomous desktop interaction.
115
109
  *
116
110
  * Image results are supported.
117
111
  *
112
+ * Tool name must be `computer`.
113
+ *
118
114
  * @param displayWidthPx - The width of the display being controlled by the model in pixels.
119
115
  * @param displayHeightPx - The height of the display being controlled by the model in pixels.
120
116
  * @param displayNumber - The display number to control (only relevant for X11 environments). If specified, the tool will be provided a display number in the tool definition.
121
- * @param execute - The function to execute the tool. Optional.
122
117
  */
123
118
  computer_20250124: _ai_sdk_provider_utils.ProviderDefinedToolFactory<{
124
119
  action: "key" | "hold_key" | "type" | "cursor_position" | "mouse_move" | "left_mouse_down" | "left_mouse_up" | "left_click" | "left_click_drag" | "right_click" | "middle_click" | "double_click" | "triple_click" | "scroll" | "wait" | "screenshot";
@@ -133,9 +128,60 @@ declare const anthropicTools: {
133
128
  displayHeightPx: number;
134
129
  displayNumber?: number;
135
130
  }>;
131
+ /**
132
+ * Claude can use an Anthropic-defined text editor tool to view and modify text files,
133
+ * helping you debug, fix, and improve your code or other text documents. This allows Claude
134
+ * to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
135
+ *
136
+ * Tool name must be `str_replace_editor`.
137
+ */
138
+ textEditor_20241022: _ai_sdk_provider_utils.ProviderDefinedToolFactory<{
139
+ command: "view" | "create" | "str_replace" | "insert" | "undo_edit";
140
+ path: string;
141
+ file_text?: string;
142
+ insert_line?: number;
143
+ new_str?: string;
144
+ old_str?: string;
145
+ view_range?: number[];
146
+ }, {}>;
147
+ /**
148
+ * Claude can use an Anthropic-defined text editor tool to view and modify text files,
149
+ * helping you debug, fix, and improve your code or other text documents. This allows Claude
150
+ * to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
151
+ *
152
+ * Tool name must be `str_replace_editor`.
153
+ */
154
+ textEditor_20250124: _ai_sdk_provider_utils.ProviderDefinedToolFactory<{
155
+ command: "view" | "create" | "str_replace" | "insert" | "undo_edit";
156
+ path: string;
157
+ file_text?: string;
158
+ insert_line?: number;
159
+ new_str?: string;
160
+ old_str?: string;
161
+ view_range?: number[];
162
+ }, {}>;
163
+ /**
164
+ * Claude can use an Anthropic-defined text editor tool to view and modify text files,
165
+ * helping you debug, fix, and improve your code or other text documents. This allows Claude
166
+ * to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
167
+ *
168
+ * Note: This version does not support the "undo_edit" command.
169
+ *
170
+ * Tool name must be `str_replace_based_edit_tool`.
171
+ */
172
+ textEditor_20250429: _ai_sdk_provider_utils.ProviderDefinedToolFactory<{
173
+ command: "view" | "create" | "str_replace" | "insert";
174
+ path: string;
175
+ file_text?: string;
176
+ insert_line?: number;
177
+ new_str?: string;
178
+ old_str?: string;
179
+ view_range?: number[];
180
+ }, {}>;
136
181
  /**
137
182
  * Creates a web search tool that gives Claude direct access to real-time web content.
138
- * Must have name "web_search".
183
+ *
184
+ * Tool name must be `web_search`.
139
185
  *
140
186
  * @param maxUses - Maximum number of web searches Claude can perform during the conversation.
141
187
  * @param allowedDomains - Optional list of domains that Claude is allowed to search.
@@ -170,24 +216,6 @@ declare const anthropicTools: {
170
216
  encryptedContent: string;
171
217
  type: string;
172
218
  }[]>;
173
- /**
174
- * Creates a tool for executing Python code. Must have name "code_execution".
175
- */
176
- codeExecution_20250522: (args?: Parameters<_ai_sdk_provider_utils.ProviderDefinedToolFactoryWithOutputSchema<{
177
- code: string;
178
- }, {
179
- type: "code_execution_result";
180
- stdout: string;
181
- stderr: string;
182
- return_code: number;
183
- }, {}>>[0]) => _ai_sdk_provider_utils.Tool<{
184
- code: string;
185
- }, {
186
- type: "code_execution_result";
187
- stdout: string;
188
- stderr: string;
189
- return_code: number;
190
- }>;
191
219
  };
192
220
 
193
221
  type AnthropicCacheControl = {
@@ -34,69 +34,62 @@ declare class AnthropicMessagesLanguageModel implements LanguageModelV2 {
34
34
 
35
35
  declare const anthropicTools: {
36
36
  /**
37
- * Creates a tool for running a bash command. Must have name "bash".
37
+ * The bash tool enables Claude to execute shell commands in a persistent bash session,
38
+ * allowing system operations, script execution, and command-line automation.
38
39
  *
39
40
  * Image results are supported.
40
41
  *
41
- * @param execute - The function to execute the tool. Optional.
42
+ * Tool name must be `bash`.
42
43
  */
43
44
  bash_20241022: _ai_sdk_provider_utils.ProviderDefinedToolFactory<{
44
45
  command: string;
45
46
  restart?: boolean;
46
47
  }, {}>;
47
48
  /**
48
- * Creates a tool for running a bash command. Must have name "bash".
49
+ * The bash tool enables Claude to execute shell commands in a persistent bash session,
50
+ * allowing system operations, script execution, and command-line automation.
49
51
  *
50
52
  * Image results are supported.
51
53
  *
52
- * @param execute - The function to execute the tool. Optional.
54
+ * Tool name must be `bash`.
53
55
  */
54
56
  bash_20250124: _ai_sdk_provider_utils.ProviderDefinedToolFactory<{
55
57
  command: string;
56
58
  restart?: boolean;
57
59
  }, {}>;
58
60
  /**
59
- * Creates a tool for editing text. Must have name "str_replace_editor".
60
- */
61
- textEditor_20241022: _ai_sdk_provider_utils.ProviderDefinedToolFactory<{
62
- command: "view" | "create" | "str_replace" | "insert" | "undo_edit";
63
- path: string;
64
- file_text?: string;
65
- insert_line?: number;
66
- new_str?: string;
67
- old_str?: string;
68
- view_range?: number[];
69
- }, {}>;
70
- /**
71
- * Creates a tool for editing text. Must have name "str_replace_editor".
72
- */
73
- textEditor_20250124: _ai_sdk_provider_utils.ProviderDefinedToolFactory<{
74
- command: "view" | "create" | "str_replace" | "insert" | "undo_edit";
75
- path: string;
76
- file_text?: string;
77
- insert_line?: number;
78
- new_str?: string;
79
- old_str?: string;
80
- view_range?: number[];
81
- }, {}>;
82
- /**
83
- * Creates a tool for editing text. Must have name "str_replace_based_edit_tool".
84
- * Note: This version does not support the "undo_edit" command.
61
+ * Claude can analyze data, create visualizations, perform complex calculations,
62
+ * run system commands, create and edit files, and process uploaded files directly within
63
+ * the API conversation.
64
+ *
65
+ * The code execution tool allows Claude to run Bash commands and manipulate files,
66
+ * including writing code, in a secure, sandboxed environment.
67
+ *
68
+ * Tool name must be `code_execution`.
85
69
  */
86
- textEditor_20250429: _ai_sdk_provider_utils.ProviderDefinedToolFactory<{
87
- command: "view" | "create" | "str_replace" | "insert";
88
- path: string;
89
- file_text?: string;
90
- insert_line?: number;
91
- new_str?: string;
92
- old_str?: string;
93
- view_range?: number[];
94
- }, {}>;
70
+ codeExecution_20250522: (args?: Parameters<_ai_sdk_provider_utils.ProviderDefinedToolFactoryWithOutputSchema<{
71
+ code: string;
72
+ }, {
73
+ type: "code_execution_result";
74
+ stdout: string;
75
+ stderr: string;
76
+ return_code: number;
77
+ }, {}>>[0]) => _ai_sdk_provider_utils.Tool<{
78
+ code: string;
79
+ }, {
80
+ type: "code_execution_result";
81
+ stdout: string;
82
+ stderr: string;
83
+ return_code: number;
84
+ }>;
95
85
  /**
96
- * Creates a tool for executing actions on a computer. Must have name "computer".
86
+ * Claude can interact with computer environments through the computer use tool, which
87
+ * provides screenshot capabilities and mouse/keyboard control for autonomous desktop interaction.
97
88
  *
98
89
  * Image results are supported.
99
90
  *
91
+ * Tool name must be `computer`.
92
+ *
100
93
  * @param displayWidthPx - The width of the display being controlled by the model in pixels.
101
94
  * @param displayHeightPx - The height of the display being controlled by the model in pixels.
102
95
  * @param displayNumber - The display number to control (only relevant for X11 environments). If specified, the tool will be provided a display number in the tool definition.
@@ -111,14 +104,16 @@ declare const anthropicTools: {
111
104
  displayNumber?: number;
112
105
  }>;
113
106
  /**
114
- * Creates a tool for executing actions on a computer. Must have name "computer".
107
+ * Claude can interact with computer environments through the computer use tool, which
108
+ * provides screenshot capabilities and mouse/keyboard control for autonomous desktop interaction.
115
109
  *
116
110
  * Image results are supported.
117
111
  *
112
+ * Tool name must be `computer`.
113
+ *
118
114
  * @param displayWidthPx - The width of the display being controlled by the model in pixels.
119
115
  * @param displayHeightPx - The height of the display being controlled by the model in pixels.
120
116
  * @param displayNumber - The display number to control (only relevant for X11 environments). If specified, the tool will be provided a display number in the tool definition.
121
- * @param execute - The function to execute the tool. Optional.
122
117
  */
123
118
  computer_20250124: _ai_sdk_provider_utils.ProviderDefinedToolFactory<{
124
119
  action: "key" | "hold_key" | "type" | "cursor_position" | "mouse_move" | "left_mouse_down" | "left_mouse_up" | "left_click" | "left_click_drag" | "right_click" | "middle_click" | "double_click" | "triple_click" | "scroll" | "wait" | "screenshot";
@@ -133,9 +128,60 @@ declare const anthropicTools: {
133
128
  displayHeightPx: number;
134
129
  displayNumber?: number;
135
130
  }>;
131
+ /**
132
+ * Claude can use an Anthropic-defined text editor tool to view and modify text files,
133
+ * helping you debug, fix, and improve your code or other text documents. This allows Claude
134
+ * to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
135
+ *
136
+ * Tool name must be `str_replace_editor`.
137
+ */
138
+ textEditor_20241022: _ai_sdk_provider_utils.ProviderDefinedToolFactory<{
139
+ command: "view" | "create" | "str_replace" | "insert" | "undo_edit";
140
+ path: string;
141
+ file_text?: string;
142
+ insert_line?: number;
143
+ new_str?: string;
144
+ old_str?: string;
145
+ view_range?: number[];
146
+ }, {}>;
147
+ /**
148
+ * Claude can use an Anthropic-defined text editor tool to view and modify text files,
149
+ * helping you debug, fix, and improve your code or other text documents. This allows Claude
150
+ * to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
151
+ *
152
+ * Tool name must be `str_replace_editor`.
153
+ */
154
+ textEditor_20250124: _ai_sdk_provider_utils.ProviderDefinedToolFactory<{
155
+ command: "view" | "create" | "str_replace" | "insert" | "undo_edit";
156
+ path: string;
157
+ file_text?: string;
158
+ insert_line?: number;
159
+ new_str?: string;
160
+ old_str?: string;
161
+ view_range?: number[];
162
+ }, {}>;
163
+ /**
164
+ * Claude can use an Anthropic-defined text editor tool to view and modify text files,
165
+ * helping you debug, fix, and improve your code or other text documents. This allows Claude
166
+ * to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
167
+ *
168
+ * Note: This version does not support the "undo_edit" command.
169
+ *
170
+ * Tool name must be `str_replace_based_edit_tool`.
171
+ */
172
+ textEditor_20250429: _ai_sdk_provider_utils.ProviderDefinedToolFactory<{
173
+ command: "view" | "create" | "str_replace" | "insert";
174
+ path: string;
175
+ file_text?: string;
176
+ insert_line?: number;
177
+ new_str?: string;
178
+ old_str?: string;
179
+ view_range?: number[];
180
+ }, {}>;
136
181
  /**
137
182
  * Creates a web search tool that gives Claude direct access to real-time web content.
138
- * Must have name "web_search".
183
+ *
184
+ * Tool name must be `web_search`.
139
185
  *
140
186
  * @param maxUses - Maximum number of web searches Claude can perform during the conversation.
141
187
  * @param allowedDomains - Optional list of domains that Claude is allowed to search.
@@ -170,24 +216,6 @@ declare const anthropicTools: {
170
216
  encryptedContent: string;
171
217
  type: string;
172
218
  }[]>;
173
- /**
174
- * Creates a tool for executing Python code. Must have name "code_execution".
175
- */
176
- codeExecution_20250522: (args?: Parameters<_ai_sdk_provider_utils.ProviderDefinedToolFactoryWithOutputSchema<{
177
- code: string;
178
- }, {
179
- type: "code_execution_result";
180
- stdout: string;
181
- stderr: string;
182
- return_code: number;
183
- }, {}>>[0]) => _ai_sdk_provider_utils.Tool<{
184
- code: string;
185
- }, {
186
- type: "code_execution_result";
187
- stdout: string;
188
- stderr: string;
189
- return_code: number;
190
- }>;
191
219
  };
192
220
 
193
221
  type AnthropicCacheControl = {
@@ -568,14 +568,7 @@ async function convertToAnthropicMessagesPrompt({
568
568
  }
569
569
  }
570
570
  }
571
- const toolResultParts = anthropicContent.filter(
572
- (part) => part.type === "tool_result"
573
- );
574
- const otherParts = anthropicContent.filter(
575
- (part) => part.type !== "tool_result"
576
- );
577
- const reorderedContent = toolResultParts.length > 0 ? [...toolResultParts, ...otherParts] : anthropicContent;
578
- messages.push({ role: "user", content: reorderedContent });
571
+ messages.push({ role: "user", content: anthropicContent });
579
572
  break;
580
573
  }
581
574
  case "assistant": {
@@ -2001,69 +1994,97 @@ var textEditor_20250429 = (0, import_provider_utils12.createProviderDefinedToolF
2001
1994
  // src/anthropic-tools.ts
2002
1995
  var anthropicTools = {
2003
1996
  /**
2004
- * Creates a tool for running a bash command. Must have name "bash".
1997
+ * The bash tool enables Claude to execute shell commands in a persistent bash session,
1998
+ * allowing system operations, script execution, and command-line automation.
2005
1999
  *
2006
2000
  * Image results are supported.
2007
2001
  *
2008
- * @param execute - The function to execute the tool. Optional.
2002
+ * Tool name must be `bash`.
2009
2003
  */
2010
2004
  bash_20241022,
2011
2005
  /**
2012
- * Creates a tool for running a bash command. Must have name "bash".
2006
+ * The bash tool enables Claude to execute shell commands in a persistent bash session,
2007
+ * allowing system operations, script execution, and command-line automation.
2013
2008
  *
2014
2009
  * Image results are supported.
2015
2010
  *
2016
- * @param execute - The function to execute the tool. Optional.
2011
+ * Tool name must be `bash`.
2017
2012
  */
2018
2013
  bash_20250124,
2019
2014
  /**
2020
- * Creates a tool for editing text. Must have name "str_replace_editor".
2021
- */
2022
- textEditor_20241022,
2023
- /**
2024
- * Creates a tool for editing text. Must have name "str_replace_editor".
2025
- */
2026
- textEditor_20250124,
2027
- /**
2028
- * Creates a tool for editing text. Must have name "str_replace_based_edit_tool".
2029
- * Note: This version does not support the "undo_edit" command.
2015
+ * Claude can analyze data, create visualizations, perform complex calculations,
2016
+ * run system commands, create and edit files, and process uploaded files directly within
2017
+ * the API conversation.
2018
+ *
2019
+ * The code execution tool allows Claude to run Bash commands and manipulate files,
2020
+ * including writing code, in a secure, sandboxed environment.
2021
+ *
2022
+ * Tool name must be `code_execution`.
2030
2023
  */
2031
- textEditor_20250429,
2024
+ codeExecution_20250522,
2032
2025
  /**
2033
- * Creates a tool for executing actions on a computer. Must have name "computer".
2026
+ * Claude can interact with computer environments through the computer use tool, which
2027
+ * provides screenshot capabilities and mouse/keyboard control for autonomous desktop interaction.
2034
2028
  *
2035
2029
  * Image results are supported.
2036
2030
  *
2031
+ * Tool name must be `computer`.
2032
+ *
2037
2033
  * @param displayWidthPx - The width of the display being controlled by the model in pixels.
2038
2034
  * @param displayHeightPx - The height of the display being controlled by the model in pixels.
2039
2035
  * @param displayNumber - The display number to control (only relevant for X11 environments). If specified, the tool will be provided a display number in the tool definition.
2040
2036
  */
2041
2037
  computer_20241022,
2042
2038
  /**
2043
- * Creates a tool for executing actions on a computer. Must have name "computer".
2039
+ * Claude can interact with computer environments through the computer use tool, which
2040
+ * provides screenshot capabilities and mouse/keyboard control for autonomous desktop interaction.
2044
2041
  *
2045
2042
  * Image results are supported.
2046
2043
  *
2044
+ * Tool name must be `computer`.
2045
+ *
2047
2046
  * @param displayWidthPx - The width of the display being controlled by the model in pixels.
2048
2047
  * @param displayHeightPx - The height of the display being controlled by the model in pixels.
2049
2048
  * @param displayNumber - The display number to control (only relevant for X11 environments). If specified, the tool will be provided a display number in the tool definition.
2050
- * @param execute - The function to execute the tool. Optional.
2051
2049
  */
2052
2050
  computer_20250124,
2051
+ /**
2052
+ * Claude can use an Anthropic-defined text editor tool to view and modify text files,
2053
+ * helping you debug, fix, and improve your code or other text documents. This allows Claude
2054
+ * to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
2055
+ *
2056
+ * Tool name must be `str_replace_editor`.
2057
+ */
2058
+ textEditor_20241022,
2059
+ /**
2060
+ * Claude can use an Anthropic-defined text editor tool to view and modify text files,
2061
+ * helping you debug, fix, and improve your code or other text documents. This allows Claude
2062
+ * to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
2063
+ *
2064
+ * Tool name must be `str_replace_editor`.
2065
+ */
2066
+ textEditor_20250124,
2067
+ /**
2068
+ * Claude can use an Anthropic-defined text editor tool to view and modify text files,
2069
+ * helping you debug, fix, and improve your code or other text documents. This allows Claude
2070
+ * to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
2071
+ *
2072
+ * Note: This version does not support the "undo_edit" command.
2073
+ *
2074
+ * Tool name must be `str_replace_based_edit_tool`.
2075
+ */
2076
+ textEditor_20250429,
2053
2077
  /**
2054
2078
  * Creates a web search tool that gives Claude direct access to real-time web content.
2055
- * Must have name "web_search".
2079
+ *
2080
+ * Tool name must be `web_search`.
2056
2081
  *
2057
2082
  * @param maxUses - Maximum number of web searches Claude can perform during the conversation.
2058
2083
  * @param allowedDomains - Optional list of domains that Claude is allowed to search.
2059
2084
  * @param blockedDomains - Optional list of domains that Claude should avoid when searching.
2060
2085
  * @param userLocation - Optional user location information to provide geographically relevant search results.
2061
2086
  */
2062
- webSearch_20250305,
2063
- /**
2064
- * Creates a tool for executing Python code. Must have name "code_execution".
2065
- */
2066
- codeExecution_20250522
2087
+ webSearch_20250305
2067
2088
  };
2068
2089
  // Annotate the CommonJS export names for ESM import in node:
2069
2090
  0 && (module.exports = {