Class BetaToolChoiceAny.Builder
-
- All Implemented Interfaces:
public final class BetaToolChoiceAny.BuilderA builder for BetaToolChoiceAny.
-
-
Method Summary
Modifier and Type Method Description final BetaToolChoiceAny.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final BetaToolChoiceAny.BuilderdisableParallelToolUse(Boolean disableParallelToolUse)Whether to disable parallel tool use. final BetaToolChoiceAny.BuilderdisableParallelToolUse(JsonField<Boolean> disableParallelToolUse)Sets Builder.disableParallelToolUse to an arbitrary JSON value. final BetaToolChoiceAny.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaToolChoiceAny.BuilderputAdditionalProperty(String key, JsonValue value)final BetaToolChoiceAny.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaToolChoiceAny.BuilderremoveAdditionalProperty(String key)final BetaToolChoiceAny.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaToolChoiceAnybuild()Returns an immutable instance of BetaToolChoiceAny. -
-
Method Detail
-
type
final BetaToolChoiceAny.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("any")This method is primarily for setting the field to an undocumented or not yet supported value.
-
disableParallelToolUse
final BetaToolChoiceAny.Builder disableParallelToolUse(Boolean disableParallelToolUse)
Whether to disable parallel tool use.
Defaults to
false. If set totrue, the model will output exactly one tool use.
-
disableParallelToolUse
final BetaToolChoiceAny.Builder disableParallelToolUse(JsonField<Boolean> disableParallelToolUse)
Sets Builder.disableParallelToolUse to an arbitrary JSON value.
You should usually call Builder.disableParallelToolUse with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaToolChoiceAny.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaToolChoiceAny.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaToolChoiceAny.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaToolChoiceAny.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaToolChoiceAny.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaToolChoiceAny build()
Returns an immutable instance of BetaToolChoiceAny.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-