Class BetaServerToolUseBlock
-
- All Implemented Interfaces:
public final class BetaServerToolUseBlock
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaServerToolUseBlock.BuilderA builder for BetaServerToolUseBlock.
public final classBetaServerToolUseBlock.Name
-
Method Summary
Modifier and Type Method Description final BetaServerToolUseBlockParamtoParam()final Stringid()final JsonValue_input()final BetaServerToolUseBlock.Namename()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("server_tool_use")final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<BetaServerToolUseBlock.Name>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalProperties()final BetaServerToolUseBlock.BuildertoBuilder()final BetaServerToolUseBlockvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaServerToolUseBlock.Builderbuilder()Returns a mutable builder for constructing an instance of BetaServerToolUseBlock. -
-
Method Detail
-
toParam
final BetaServerToolUseBlockParam toParam()
-
name
final BetaServerToolUseBlock.Name name()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("server_tool_use")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<BetaServerToolUseBlock.Name> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaServerToolUseBlock.Builder toBuilder()
-
validate
final BetaServerToolUseBlock validate()
-
builder
final static BetaServerToolUseBlock.Builder builder()
Returns a mutable builder for constructing an instance of BetaServerToolUseBlock.
The following fields are required:
.id() .input() .name()
-
-
-
-