Class BetaManagedAgentsMcpToolsetParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMcpToolsetParamsConfiguration for tools from an MCP server defined in
mcp_servers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsMcpToolsetParams.BuilderA builder for BetaManagedAgentsMcpToolsetParams.
public final classBetaManagedAgentsMcpToolsetParams.Type
-
Method Summary
-
-
Method Detail
-
mcpServerName
final String mcpServerName()
Name of the MCP server. Must match a server name from the mcp_servers array. 1-255 characters.
-
type
final BetaManagedAgentsMcpToolsetParams.Type type()
-
configs
final Optional<List<BetaManagedAgentsMcpToolConfigParams>> configs()
Per-tool configuration overrides.
-
defaultConfig
final Optional<BetaManagedAgentsMcpToolsetDefaultConfigParams> defaultConfig()
Default configuration for all tools from an MCP server.
-
_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.
-
_type
final JsonField<BetaManagedAgentsMcpToolsetParams.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_configs
final JsonField<List<BetaManagedAgentsMcpToolConfigParams>> _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<BetaManagedAgentsMcpToolsetDefaultConfigParams> _defaultConfig()
Returns the raw JSON value of defaultConfig.
Unlike defaultConfig, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsMcpToolsetParams.Builder toBuilder()
-
validate
final BetaManagedAgentsMcpToolsetParams 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 BetaManagedAgentsMcpToolsetParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsMcpToolsetParams.
The following fields are required:
.mcpServerName() .type()
-
-
-
-