Class BetaToolChoiceMcp.Builder
-
- All Implemented Interfaces:
public final class BetaToolChoiceMcp.BuilderA builder for BetaToolChoiceMcp.
-
-
Method Summary
-
-
Method Detail
-
serverLabel
final BetaToolChoiceMcp.Builder serverLabel(String serverLabel)
The label of the MCP server to use.
-
serverLabel
final BetaToolChoiceMcp.Builder serverLabel(JsonField<String> serverLabel)
Sets Builder.serverLabel to an arbitrary JSON value.
You should usually call Builder.serverLabel 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 BetaToolChoiceMcp.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")This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final BetaToolChoiceMcp.Builder name(String name)
The name of the tool to call on the server.
-
name
final BetaToolChoiceMcp.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final BetaToolChoiceMcp.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.
-
additionalProperties
final BetaToolChoiceMcp.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaToolChoiceMcp.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaToolChoiceMcp.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaToolChoiceMcp.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaToolChoiceMcp.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaToolChoiceMcp build()
Returns an immutable instance of BetaToolChoiceMcp.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.serverLabel()
-
-
-
-