Package com.anthropic.models.messages
Class ToolChoiceNone
-
- All Implemented Interfaces:
public final class ToolChoiceNoneThe model will not be allowed to use tools.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classToolChoiceNone.BuilderA builder for ToolChoiceNone.
-
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("none")final Map<String, JsonValue>_additionalProperties()final ToolChoiceNone.BuildertoBuilder()final ToolChoiceNonevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ToolChoiceNone.Builderbuilder()Returns a mutable builder for constructing an instance of ToolChoiceNone. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("none")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ToolChoiceNone.Builder toBuilder()
-
validate
final ToolChoiceNone validate()
-
builder
final static ToolChoiceNone.Builder builder()
Returns a mutable builder for constructing an instance of ToolChoiceNone.
-
-
-
-