Package com.anthropic.models.messages
Class AvailableToolsLimitExceededErrorDetails
-
- All Implemented Interfaces:
public final class AvailableToolsLimitExceededErrorDetailsThe tools available after a message exceed a limit on their number or their size.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAvailableToolsLimitExceededErrorDetails.BuilderA builder for AvailableToolsLimitExceededErrorDetails.
-
Method Summary
Modifier and Type Method Description final JsonValue_errorCode()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("available_tools_limit_exceeded")final Map<String, JsonValue>_additionalProperties()final AvailableToolsLimitExceededErrorDetails.BuildertoBuilder()final AvailableToolsLimitExceededErrorDetailsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AvailableToolsLimitExceededErrorDetails.Builderbuilder()Returns a mutable builder for constructing an instance of AvailableToolsLimitExceededErrorDetails. -
-
Method Detail
-
_errorCode
final JsonValue _errorCode()
Expected to always return the following:
JsonValue.from("available_tools_limit_exceeded")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 AvailableToolsLimitExceededErrorDetails.Builder toBuilder()
-
validate
final AvailableToolsLimitExceededErrorDetails 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 AvailableToolsLimitExceededErrorDetails.Builder builder()
Returns a mutable builder for constructing an instance of AvailableToolsLimitExceededErrorDetails.
-
-
-
-