AnthropicTool
Models
Coordinate
Signature
declare const Coordinate: Tuple<readonly Array<Constraint>>Schemas
ProviderDefinedTools
Signature
declare const ProviderDefinedTools: Schema.Union<
[
typeof Generated.BetaBashTool20241022,
typeof Generated.BetaBashTool20250124,
typeof Generated.BetaCodeExecutionTool20250522,
typeof Generated.BetaComputerUseTool20241022,
typeof Generated.BetaComputerUseTool20250124,
typeof Generated.BetaTextEditor20241022,
typeof Generated.BetaTextEditor20250124,
typeof Generated.BetaTextEditor20250429,
typeof Generated.BetaTextEditor20250728,
typeof Generated.BetaWebSearchTool20250305,
]
>;ProviderDefinedTools type
Signature
type ProviderDefinedTools = typeof ProviderDefinedTools.Type;Tool Calling
getProviderDefinedToolName
Signature
declare function getProviderDefinedToolName(name: string): string | undefined;Tools
Bash_20241022
Signature
declare const Bash_20241022: any;Bash_20250124
Signature
declare const Bash_20250124: any;CodeExecution_20250522
Signature
declare const CodeExecution_20250522: any;CodeExecution_20250825
Signature
declare const CodeExecution_20250825: any;ComputerUse_20241022
Allow Claude to interact with computer environments through the computer use tool, which provides screenshot capabilities and mouse/keyboard control for autonomous desktop interaction.
Signature
declare const ComputerUse_20241022: any;ComputerUse_20250124
Allow Claude to interact with computer environments through the computer use tool, which provides screenshot capabilities and mouse/keyboard control for autonomous desktop interaction.
Signature
declare const ComputerUse_20250124: any;TextEditor_20241022
Allow Claude to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
Signature
declare const TextEditor_20241022: any;TextEditor_20250124
Allow Claude to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
Signature
declare const TextEditor_20250124: any;TextEditor_20250429
Allow Claude to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
Signature
declare const TextEditor_20250429: any;TextEditor_20250728
Allow Claude to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
Signature
declare const TextEditor_20250728: any;WebSearch_20250305
Signature
declare const WebSearch_20250305: any;
A helper method which takes in the name of a tool as returned in the response from a large language model provider, and returns either the provider-defined name for of the tool as found in the corresponding
Toolkit, orundefinedif the tool name is not a provider-defined tool.For example, if the large language model provider returns the tool name
"web_search"in a response, calling this method would return"AnthropicWebSearch".This method is primarily exposed for use by other Effect provider integrations which can utilize Anthropic tools (i.e. Amazon Bedrock).