Interface BetaManagedAgentsAgentToolConfigParams.Visitor
-
- All Implemented Interfaces:
public interface BetaManagedAgentsAgentToolConfigParams.Visitor<T extends Object>An interface that defines how to map each variant of BetaManagedAgentsAgentToolConfigParams to a value of type T.
-
-
Method Summary
Modifier and Type Method Description abstract TvisitBash(BetaManagedAgentsBashToolConfigParams bash)Configuration override for the bash tool. abstract TvisitEdit(BetaManagedAgentsEditToolConfigParams edit)Configuration override for the edit tool. abstract TvisitRead(BetaManagedAgentsReadToolConfigParams read)Configuration override for the read tool. abstract TvisitWrite(BetaManagedAgentsWriteToolConfigParams write)Configuration override for the write tool. abstract TvisitGlob(BetaManagedAgentsGlobToolConfigParams glob)Configuration override for the glob tool. abstract TvisitGrep(BetaManagedAgentsGrepToolConfigParams grep)Configuration override for the grep tool. abstract TvisitWebFetch(BetaManagedAgentsWebFetchToolConfigParams webFetch)Configuration override for the web_fetch tool. abstract TvisitWebSearch(BetaManagedAgentsWebSearchToolConfigParams webSearch)Configuration override for the web_search tool. Tunknown(JsonValue json)Maps an unknown variant of BetaManagedAgentsAgentToolConfigParams to a value of type T. -
-
Method Detail
-
visitBash
abstract T visitBash(BetaManagedAgentsBashToolConfigParams bash)
Configuration override for the bash tool.
-
visitEdit
abstract T visitEdit(BetaManagedAgentsEditToolConfigParams edit)
Configuration override for the edit tool.
-
visitRead
abstract T visitRead(BetaManagedAgentsReadToolConfigParams read)
Configuration override for the read tool.
-
visitWrite
abstract T visitWrite(BetaManagedAgentsWriteToolConfigParams write)
Configuration override for the write tool.
-
visitGlob
abstract T visitGlob(BetaManagedAgentsGlobToolConfigParams glob)
Configuration override for the glob tool.
-
visitGrep
abstract T visitGrep(BetaManagedAgentsGrepToolConfigParams grep)
Configuration override for the grep tool.
-
visitWebFetch
abstract T visitWebFetch(BetaManagedAgentsWebFetchToolConfigParams webFetch)
Configuration override for the web_fetch tool.
-
visitWebSearch
abstract T visitWebSearch(BetaManagedAgentsWebSearchToolConfigParams webSearch)
Configuration override for the web_search tool.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of BetaManagedAgentsAgentToolConfigParams to a value of type T.
An instance of BetaManagedAgentsAgentToolConfigParams 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.
-
-
-
-