Class BetaServerToolCaller
-
- All Implemented Interfaces:
public final class BetaServerToolCallerTool invocation generated by a server-side tool.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaServerToolCaller.BuilderA builder for BetaServerToolCaller.
-
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_20250825")final JsonField<String>_toolId()Returns the raw JSON value of toolId. final Map<String, JsonValue>_additionalProperties()final BetaServerToolCaller.BuildertoBuilder()final BetaServerToolCallervalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaServerToolCaller.Builderbuilder()Returns a mutable builder for constructing an instance of BetaServerToolCaller. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("code_execution_20250825")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 BetaServerToolCaller.Builder toBuilder()
-
validate
final BetaServerToolCaller validate()
-
builder
final static BetaServerToolCaller.Builder builder()
Returns a mutable builder for constructing an instance of BetaServerToolCaller.
The following fields are required:
.toolId()
-
-
-
-