Package com.braintrustdata.api.models
Class FunctionInvokeParams.Message.Tool
-
- All Implemented Interfaces:
public final class FunctionInvokeParams.Message.Tool
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFunctionInvokeParams.Message.Tool.BuilderA builder for Tool.
public final classFunctionInvokeParams.Message.Tool.Role
-
Method Summary
Modifier and Type Method Description final FunctionInvokeParams.Message.Tool.Rolerole()final Optional<String>content()final Optional<String>toolCallId()final JsonField<FunctionInvokeParams.Message.Tool.Role>_role()Returns the raw JSON value of role. final JsonField<String>_content()Returns the raw JSON value of content. final JsonField<String>_toolCallId()Returns the raw JSON value of toolCallId. final Map<String, JsonValue>_additionalProperties()final FunctionInvokeParams.Message.Tool.BuildertoBuilder()final FunctionInvokeParams.Message.Toolvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FunctionInvokeParams.Message.Tool.Builderbuilder()Returns a mutable builder for constructing an instance of Tool. -
-
Method Detail
-
role
final FunctionInvokeParams.Message.Tool.Role role()
-
toolCallId
final Optional<String> toolCallId()
-
_role
final JsonField<FunctionInvokeParams.Message.Tool.Role> _role()
Returns the raw JSON value of role.
Unlike role, this method doesn't throw if the JSON field has an unexpected type.
-
_content
final JsonField<String> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
-
_toolCallId
final JsonField<String> _toolCallId()
Returns the raw JSON value of toolCallId.
Unlike toolCallId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FunctionInvokeParams.Message.Tool.Builder toBuilder()
-
validate
final FunctionInvokeParams.Message.Tool validate()
-
builder
final static FunctionInvokeParams.Message.Tool.Builder builder()
Returns a mutable builder for constructing an instance of Tool.
The following fields are required:
.role()
-
-
-
-