Package com.anthropic.models
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.
public final classBetaToolChoiceTool.Type
-
Method Summary
Modifier and Type Method Description final Stringname()The name of the tool to use. final BetaToolChoiceTool.Typetype()final Optional<Boolean>disableParallelToolUse()Whether to disable parallel tool use. final JsonField<String>_name()The name of the tool to use. final JsonField<BetaToolChoiceTool.Type>_type()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()-
-
Method Detail
-
type
final BetaToolChoiceTool.Type type()
-
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.
-
_type
final JsonField<BetaToolChoiceTool.Type> _type()
-
_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()
-
-
-
-