Class BetaToolChoiceAny
-
- All Implemented Interfaces:
public final class BetaToolChoiceAnyThe model will use any available tools.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaToolChoiceAny.BuilderA builder for BetaToolChoiceAny.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("any")final Optional<Boolean>disableParallelToolUse()Whether to disable parallel tool use. final JsonField<Boolean>_disableParallelToolUse()Returns the raw JSON value of disableParallelToolUse. final Map<String, JsonValue>_additionalProperties()final BetaToolChoiceAny.BuildertoBuilder()final BetaToolChoiceAnyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaToolChoiceAny.Builderbuilder()Returns a mutable builder for constructing an instance of BetaToolChoiceAny. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("any")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
disableParallelToolUse
final Optional<Boolean> disableParallelToolUse()
Whether to disable parallel tool use.
Defaults to
false. If set totrue, the model will output exactly one tool use.
-
_disableParallelToolUse
final JsonField<Boolean> _disableParallelToolUse()
Returns the raw JSON value of disableParallelToolUse.
Unlike disableParallelToolUse, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaToolChoiceAny.Builder toBuilder()
-
validate
final BetaToolChoiceAny validate()
-
builder
final static BetaToolChoiceAny.Builder builder()
Returns a mutable builder for constructing an instance of BetaToolChoiceAny.
-
-
-
-