Package com.anthropic.models.messages
Class ToolChoiceAny
-
- All Implemented Interfaces:
public final class ToolChoiceAnyThe model will use any available tools.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classToolChoiceAny.BuilderA builder for ToolChoiceAny.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()final Optional<Boolean>disableParallelToolUse()Whether to disable parallel tool use. final JsonField<Boolean>_disableParallelToolUse()Whether to disable parallel tool use. final Map<String, JsonValue>_additionalProperties()final ToolChoiceAnyvalidate()final ToolChoiceAny.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ToolChoiceAny.Builderbuilder()Returns a mutable builder for constructing an instance of ToolChoiceAny. -
-
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 ToolChoiceAny validate()
-
toBuilder
final ToolChoiceAny.Builder toBuilder()
-
builder
final static ToolChoiceAny.Builder builder()
Returns a mutable builder for constructing an instance of ToolChoiceAny.
-
-
-
-