Class BetaToolChoiceTool
-
- All Implemented Interfaces:
public final class BetaToolChoiceToolThe model will use the specified tool with
tool_choice.name.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaToolChoiceTool.BuilderA builder for BetaToolChoiceTool.
-
Method Summary
Modifier and Type Method Description final Stringname()The name of the tool to use. final JsonValue_type()final Optional<Boolean>disableParallelToolUse()Whether to disable parallel tool use. final JsonField<String>_name()The name of the tool to use. final JsonField<Boolean>_disableParallelToolUse()Whether to disable parallel tool use. final Map<String, JsonValue>_additionalProperties()final BetaToolChoiceToolvalidate()final BetaToolChoiceTool.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaToolChoiceTool.Builderbuilder()Returns a mutable builder for constructing an instance of BetaToolChoiceTool. -
-
Method Detail
-
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()
Whether to disable parallel tool use.
Defaults to
false. If set totrue, the model will output exactly one tool use.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final BetaToolChoiceTool validate()
-
toBuilder
final BetaToolChoiceTool.Builder toBuilder()
-
builder
final static BetaToolChoiceTool.Builder builder()
Returns a mutable builder for constructing an instance of BetaToolChoiceTool.
The following fields are required:
.name()
-
-
-
-