Package com.anthropic.models.messages
Class ServerToolCaller20260120
-
- All Implemented Interfaces:
public final class ServerToolCaller20260120
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classServerToolCaller20260120.BuilderA builder for ServerToolCaller20260120.
-
Method Summary
Modifier and Type Method Description final StringtoolId()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("code_execution_20260120")final JsonField<String>_toolId()Returns the raw JSON value of toolId. final Map<String, JsonValue>_additionalProperties()final ServerToolCaller20260120.BuildertoBuilder()final ServerToolCaller20260120validate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ServerToolCaller20260120.Builderbuilder()Returns a mutable builder for constructing an instance of ServerToolCaller20260120. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("code_execution_20260120")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_toolId
final JsonField<String> _toolId()
Returns the raw JSON value of toolId.
Unlike toolId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ServerToolCaller20260120.Builder toBuilder()
-
validate
final ServerToolCaller20260120 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 ServerToolCaller20260120.Builder builder()
Returns a mutable builder for constructing an instance of ServerToolCaller20260120.
The following fields are required:
.toolId()
-
-
-
-