Class ToolCallsStepDetails
-
- All Implemented Interfaces:
public final class ToolCallsStepDetailsDetails of the tool call.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classToolCallsStepDetails.BuilderA builder for ToolCallsStepDetails.
-
Method Summary
Modifier and Type Method Description final List<ToolCall>toolCalls()An array of tool calls the run step was involved in. final JsonValue_type()Always tool_calls.final JsonField<List<ToolCall>>_toolCalls()Returns the raw JSON value of toolCalls. final Map<String, JsonValue>_additionalProperties()final ToolCallsStepDetails.BuildertoBuilder()final ToolCallsStepDetailsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ToolCallsStepDetails.Builderbuilder()Returns a mutable builder for constructing an instance of ToolCallsStepDetails. -
-
Method Detail
-
toolCalls
final 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.
-
_type
final JsonValue _type()
Always
tool_calls.Expected to always return the following:
JsonValue.from("tool_calls")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_toolCalls
final JsonField<List<ToolCall>> _toolCalls()
Returns the raw JSON value of toolCalls.
Unlike toolCalls, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ToolCallsStepDetails.Builder toBuilder()
-
validate
final ToolCallsStepDetails validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ToolCallsStepDetails.Builder builder()
Returns a mutable builder for constructing an instance of ToolCallsStepDetails.
The following fields are required:
.toolCalls()
-
-
-
-