Class BetaToolChangeMcpToolReference.Builder
-
- All Implemented Interfaces:
public final class BetaToolChangeMcpToolReference.BuilderA builder for BetaToolChangeMcpToolReference.
-
-
Method Summary
-
-
Method Detail
-
name
final BetaToolChangeMcpToolReference.Builder name(String name)
-
name
final BetaToolChangeMcpToolReference.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
serverName
final BetaToolChangeMcpToolReference.Builder serverName(String serverName)
-
serverName
final BetaToolChangeMcpToolReference.Builder serverName(JsonField<String> serverName)
Sets Builder.serverName to an arbitrary JSON value.
You should usually call Builder.serverName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaToolChangeMcpToolReference.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("mcp_tool_reference")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaToolChangeMcpToolReference.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaToolChangeMcpToolReference.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaToolChangeMcpToolReference.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaToolChangeMcpToolReference.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaToolChangeMcpToolReference.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaToolChangeMcpToolReference build()
Returns an immutable instance of BetaToolChangeMcpToolReference.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name() .serverName()
-
-
-
-