Package com.anthropic.models.beta.agents
Interface BetaManagedAgentsAgentToolConfig.Visitor
-
- All Implemented Interfaces:
public interface BetaManagedAgentsAgentToolConfig.Visitor<T extends Object>An interface that defines how to map each variant of BetaManagedAgentsAgentToolConfig to a value of type T.
-
-
Method Summary
Modifier and Type Method Description abstract TvisitBash(BetaManagedAgentsBashToolConfig bash)Configuration for the bash tool. abstract TvisitEdit(BetaManagedAgentsEditToolConfig edit)Configuration for the edit tool. abstract TvisitRead(BetaManagedAgentsReadToolConfig read)Configuration for the read tool. abstract TvisitWrite(BetaManagedAgentsWriteToolConfig write)Configuration for the write tool. abstract TvisitGlob(BetaManagedAgentsGlobToolConfig glob)Configuration for the glob tool. abstract TvisitGrep(BetaManagedAgentsGrepToolConfig grep)Configuration for the grep tool. abstract TvisitWebFetch(BetaManagedAgentsWebFetchToolConfig webFetch)Configuration for the web_fetch tool. abstract TvisitWebSearch(BetaManagedAgentsWebSearchToolConfig webSearch)Configuration for the web_search tool. Tunknown(JsonValue json)Maps an unknown variant of BetaManagedAgentsAgentToolConfig to a value of type T. -
-
Method Detail
-
visitBash
abstract T visitBash(BetaManagedAgentsBashToolConfig bash)
Configuration for the bash tool.
-
visitEdit
abstract T visitEdit(BetaManagedAgentsEditToolConfig edit)
Configuration for the edit tool.
-
visitRead
abstract T visitRead(BetaManagedAgentsReadToolConfig read)
Configuration for the read tool.
-
visitWrite
abstract T visitWrite(BetaManagedAgentsWriteToolConfig write)
Configuration for the write tool.
-
visitGlob
abstract T visitGlob(BetaManagedAgentsGlobToolConfig glob)
Configuration for the glob tool.
-
visitGrep
abstract T visitGrep(BetaManagedAgentsGrepToolConfig grep)
Configuration for the grep tool.
-
visitWebFetch
abstract T visitWebFetch(BetaManagedAgentsWebFetchToolConfig webFetch)
Configuration for the web_fetch tool.
-
visitWebSearch
abstract T visitWebSearch(BetaManagedAgentsWebSearchToolConfig webSearch)
Configuration for the web_search tool.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of BetaManagedAgentsAgentToolConfig to a value of type T.
An instance of BetaManagedAgentsAgentToolConfig can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-