Package com.anthropic.models.messages
Class CompactionTooManyToolReferencesErrorDetails
-
- All Implemented Interfaces:
public final class CompactionTooManyToolReferencesErrorDetailsThe conversation references more distinct tools than a
compactionblock can record.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCompactionTooManyToolReferencesErrorDetails.BuilderA builder for CompactionTooManyToolReferencesErrorDetails.
-
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("compaction_too_many_tool_references")final Map<String, JsonValue>_additionalProperties()final CompactionTooManyToolReferencesErrorDetails.BuildertoBuilder()final CompactionTooManyToolReferencesErrorDetailsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CompactionTooManyToolReferencesErrorDetails.Builderbuilder()Returns a mutable builder for constructing an instance of CompactionTooManyToolReferencesErrorDetails. -
-
Method Detail
-
_errorCode
final JsonValue _errorCode()
Expected to always return the following:
JsonValue.from("compaction_too_many_tool_references")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 CompactionTooManyToolReferencesErrorDetails.Builder toBuilder()
-
validate
final CompactionTooManyToolReferencesErrorDetails 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 CompactionTooManyToolReferencesErrorDetails.Builder builder()
Returns a mutable builder for constructing an instance of CompactionTooManyToolReferencesErrorDetails.
-
-
-
-