Class ChatCompletionMessageCustomToolCall.Custom
-
- All Implemented Interfaces:
public final class ChatCompletionMessageCustomToolCall.Custom
The custom tool that the model called.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatCompletionMessageCustomToolCall.Custom.Builder
A builder for Custom.
-
Method Summary
Modifier and Type Method Description final String
input()
The input for the custom tool call generated by the model. final String
name()
The name of the custom tool to call. final JsonField<String>
_input()
Returns the raw JSON value of input. final JsonField<String>
_name()
Returns the raw JSON value of name. final Map<String, JsonValue>
_additionalProperties()
final ChatCompletionMessageCustomToolCall.Custom.Builder
toBuilder()
final ChatCompletionMessageCustomToolCall.Custom
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionMessageCustomToolCall.Custom.Builder
builder()
Returns a mutable builder for constructing an instance of Custom. -
-
Method Detail
-
_input
final JsonField<String> _input()
Returns the raw JSON value of input.
Unlike input, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _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 ChatCompletionMessageCustomToolCall.Custom.Builder toBuilder()
-
validate
final ChatCompletionMessageCustomToolCall.Custom validate()
-
builder
final static ChatCompletionMessageCustomToolCall.Custom.Builder builder()
Returns a mutable builder for constructing an instance of Custom.
The following fields are required:
.input() .name()
-
-
-
-