Class BetaResponseToolChangeMcpToolReference.Builder
-
- All Implemented Interfaces:
public final class BetaResponseToolChangeMcpToolReference.BuilderA builder for BetaResponseToolChangeMcpToolReference.
-
-
Method Summary
-
-
Method Detail
-
name
final BetaResponseToolChangeMcpToolReference.Builder name(String name)
-
name
final BetaResponseToolChangeMcpToolReference.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 BetaResponseToolChangeMcpToolReference.Builder serverName(String serverName)
-
serverName
final BetaResponseToolChangeMcpToolReference.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 BetaResponseToolChangeMcpToolReference.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 BetaResponseToolChangeMcpToolReference.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaResponseToolChangeMcpToolReference.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaResponseToolChangeMcpToolReference.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaResponseToolChangeMcpToolReference.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaResponseToolChangeMcpToolReference.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaResponseToolChangeMcpToolReference build()
Returns an immutable instance of BetaResponseToolChangeMcpToolReference.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name() .serverName()
-
-
-
-