Class BetaManagedAgentsMcpToolset
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMcpToolset
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsMcpToolset.BuilderA builder for BetaManagedAgentsMcpToolset.
-
Method Summary
Modifier and Type Method Description final List<BetaManagedAgentsMcpToolConfig>configs()final BetaManagedAgentsMcpToolsetDefaultConfigdefaultConfig()Resolved default configuration for all tools from an MCP server. final StringmcpServerName()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("mcp_toolset")final JsonField<List<BetaManagedAgentsMcpToolConfig>>_configs()Returns the raw JSON value of configs. final JsonField<BetaManagedAgentsMcpToolsetDefaultConfig>_defaultConfig()Returns the raw JSON value of defaultConfig. final JsonField<String>_mcpServerName()Returns the raw JSON value of mcpServerName. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsMcpToolset.BuildertoBuilder()final BetaManagedAgentsMcpToolsetvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsMcpToolset.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsMcpToolset. -
-
Method Detail
-
configs
final List<BetaManagedAgentsMcpToolConfig> configs()
-
defaultConfig
final BetaManagedAgentsMcpToolsetDefaultConfig defaultConfig()
Resolved default configuration for all tools from an MCP server.
-
mcpServerName
final String mcpServerName()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("mcp_toolset")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_configs
final JsonField<List<BetaManagedAgentsMcpToolConfig>> _configs()
Returns the raw JSON value of configs.
Unlike configs, this method doesn't throw if the JSON field has an unexpected type.
-
_defaultConfig
final JsonField<BetaManagedAgentsMcpToolsetDefaultConfig> _defaultConfig()
Returns the raw JSON value of defaultConfig.
Unlike defaultConfig, this method doesn't throw if the JSON field has an unexpected type.
-
_mcpServerName
final JsonField<String> _mcpServerName()
Returns the raw JSON value of mcpServerName.
Unlike mcpServerName, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsMcpToolset.Builder toBuilder()
-
validate
final BetaManagedAgentsMcpToolset validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsMcpToolset.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsMcpToolset.
The following fields are required:
.configs() .defaultConfig() .mcpServerName()
-
-
-
-