Class ToolCallsStepDetails.Builder
-
- All Implemented Interfaces:
public final class ToolCallsStepDetails.Builder
A builder for ToolCallsStepDetails.
-
-
Method Summary
-
-
Method Detail
-
toolCalls
final ToolCallsStepDetails.Builder toolCalls(List<ToolCall> toolCalls)
An array of tool calls the run step was involved in. These can be associated with one of three types of tools:
code_interpreter
,file_search
, orfunction
.
-
toolCalls
final ToolCallsStepDetails.Builder toolCalls(JsonField<List<ToolCall>> toolCalls)
An array of tool calls the run step was involved in. These can be associated with one of three types of tools:
code_interpreter
,file_search
, orfunction
.
-
addToolCall
final ToolCallsStepDetails.Builder addToolCall(ToolCall toolCall)
An array of tool calls the run step was involved in. These can be associated with one of three types of tools:
code_interpreter
,file_search
, orfunction
.
-
addToolCall
final ToolCallsStepDetails.Builder addToolCall(CodeInterpreterToolCall codeInterpreter)
Details of the Code Interpreter tool call the run step was involved in.
-
addToolCall
final ToolCallsStepDetails.Builder addToolCall(FileSearchToolCall fileSearch)
An array of tool calls the run step was involved in. These can be associated with one of three types of tools:
code_interpreter
,file_search
, orfunction
.
-
addToolCall
final ToolCallsStepDetails.Builder addToolCall(FunctionToolCall function)
An array of tool calls the run step was involved in. These can be associated with one of three types of tools:
code_interpreter
,file_search
, orfunction
.
-
type
final ToolCallsStepDetails.Builder type(JsonValue type)
Always
tool_calls
.
-
additionalProperties
final ToolCallsStepDetails.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ToolCallsStepDetails.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ToolCallsStepDetails.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ToolCallsStepDetails.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ToolCallsStepDetails.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ToolCallsStepDetails build()
-
-
-
-