Class RunSubmitToolOutputsParams.ToolOutput.Builder
-
- All Implemented Interfaces:
public final class RunSubmitToolOutputsParams.ToolOutput.Builder
A builder for ToolOutput.
-
-
Method Summary
-
-
Method Detail
-
output
final RunSubmitToolOutputsParams.ToolOutput.Builder output(String output)
The output of the tool call to be submitted to continue the run.
-
output
final RunSubmitToolOutputsParams.ToolOutput.Builder output(JsonField<String> output)
Sets Builder.output to an arbitrary JSON value.
You should usually call Builder.output 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 RunSubmitToolOutputsParams.ToolOutput.Builder toolCallId(String toolCallId)
The ID of the tool call in the
required_action
object within the run object the output is being submitted for.
-
toolCallId
final RunSubmitToolOutputsParams.ToolOutput.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 RunSubmitToolOutputsParams.ToolOutput.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RunSubmitToolOutputsParams.ToolOutput.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RunSubmitToolOutputsParams.ToolOutput.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RunSubmitToolOutputsParams.ToolOutput.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RunSubmitToolOutputsParams.ToolOutput.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RunSubmitToolOutputsParams.ToolOutput build()
Returns an immutable instance of ToolOutput.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-