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.TypeTool Calling
getProviderDefinedToolName
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, or undefined
if 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).
Signature
declare function getProviderDefinedToolName(name: string): string | undefinedTools
Bash_20241022
Signature
declare const Bash_20241022: anyBash_20250124
Signature
declare const Bash_20250124: anyCodeExecution_20250522
Signature
declare const CodeExecution_20250522: anyCodeExecution_20250825
Signature
declare const CodeExecution_20250825: anyComputerUse_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: anyComputerUse_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: anyTextEditor_20241022
Allow Claude to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
Signature
declare const TextEditor_20241022: anyTextEditor_20250124
Allow Claude to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
Signature
declare const TextEditor_20250124: anyTextEditor_20250429
Allow Claude to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
Signature
declare const TextEditor_20250429: anyTextEditor_20250728
Allow Claude to directly interact with your files, providing hands-on assistance rather than just suggesting changes.
Signature
declare const TextEditor_20250728: anyWebSearch_20250305
Signature
declare const WebSearch_20250305: any