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()Validates that the types of all values in this object match their expected types recursively. 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()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ToolChoiceNone.Builder builder()
Returns a mutable builder for constructing an instance of ToolChoiceNone.
-
-
-
-