Package com.anthropic.models.messages
Class ToolReferenceUnresolvedErrorDetails
-
- All Implemented Interfaces:
public final class ToolReferenceUnresolvedErrorDetailsA tool change or MCP tool listing references a tool or MCP server that is not defined at that position in the conversation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classToolReferenceUnresolvedErrorDetails.BuilderA builder for ToolReferenceUnresolvedErrorDetails.
-
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("tool_reference_unresolved")final Map<String, JsonValue>_additionalProperties()final ToolReferenceUnresolvedErrorDetails.BuildertoBuilder()final ToolReferenceUnresolvedErrorDetailsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ToolReferenceUnresolvedErrorDetails.Builderbuilder()Returns a mutable builder for constructing an instance of ToolReferenceUnresolvedErrorDetails. -
-
Method Detail
-
_errorCode
final JsonValue _errorCode()
Expected to always return the following:
JsonValue.from("tool_reference_unresolved")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 ToolReferenceUnresolvedErrorDetails.Builder toBuilder()
-
validate
final ToolReferenceUnresolvedErrorDetails 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 ToolReferenceUnresolvedErrorDetails.Builder builder()
Returns a mutable builder for constructing an instance of ToolReferenceUnresolvedErrorDetails.
-
-
-
-