Class BetaToolChangeMcpToolsetReference
-
- All Implemented Interfaces:
public final class BetaToolChangeMcpToolsetReferenceReference to every tool in the named MCP server's toolset.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaToolChangeMcpToolsetReference.BuilderA builder for BetaToolChangeMcpToolsetReference.
-
Method Summary
Modifier and Type Method Description final StringserverName()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_reference")final JsonField<String>_serverName()Returns the raw JSON value of serverName. final Map<String, JsonValue>_additionalProperties()final BetaToolChangeMcpToolsetReference.BuildertoBuilder()final BetaToolChangeMcpToolsetReferencevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaToolChangeMcpToolsetReference.Builderbuilder()Returns a mutable builder for constructing an instance of BetaToolChangeMcpToolsetReference. final static BetaToolChangeMcpToolsetReferenceof(String serverName)Returns an immutable instance of BetaToolChangeMcpToolsetReference with the required serverName set to the given value. -
-
Method Detail
-
serverName
final String serverName()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("mcp_toolset_reference")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_serverName
final JsonField<String> _serverName()
Returns the raw JSON value of serverName.
Unlike serverName, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaToolChangeMcpToolsetReference.Builder toBuilder()
-
validate
final BetaToolChangeMcpToolsetReference 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 BetaToolChangeMcpToolsetReference.Builder builder()
Returns a mutable builder for constructing an instance of BetaToolChangeMcpToolsetReference.
The following fields are required:
.serverName()
-
of
final static BetaToolChangeMcpToolsetReference of(String serverName)
Returns an immutable instance of BetaToolChangeMcpToolsetReference with the required serverName set to the given value.
-
-
-
-