Class FunctionInvokeParams.Message.Tool.Builder
-
- All Implemented Interfaces:
public final class FunctionInvokeParams.Message.Tool.BuilderA builder for Tool.
-
-
Method Summary
-
-
Method Detail
-
role
final FunctionInvokeParams.Message.Tool.Builder role(FunctionInvokeParams.Message.Tool.Role role)
-
role
final FunctionInvokeParams.Message.Tool.Builder role(JsonField<FunctionInvokeParams.Message.Tool.Role> role)
Sets Builder.role to an arbitrary JSON value.
You should usually call Builder.role with a well-typed Role value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
content
final FunctionInvokeParams.Message.Tool.Builder content(String content)
-
content
final FunctionInvokeParams.Message.Tool.Builder content(JsonField<String> content)
Sets Builder.content to an arbitrary JSON value.
You should usually call Builder.content with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
toolCallId
final FunctionInvokeParams.Message.Tool.Builder toolCallId(String toolCallId)
-
toolCallId
final FunctionInvokeParams.Message.Tool.Builder toolCallId(JsonField<String> toolCallId)
Sets Builder.toolCallId to an arbitrary JSON value.
You should usually call Builder.toolCallId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final FunctionInvokeParams.Message.Tool.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FunctionInvokeParams.Message.Tool.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FunctionInvokeParams.Message.Tool.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FunctionInvokeParams.Message.Tool.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FunctionInvokeParams.Message.Tool.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FunctionInvokeParams.Message.Tool build()
Returns an immutable instance of Tool.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.role()
-
-
-
-