class

OpenAI::RunStepDeltaStepDetailsToolCallsObject

Inherits JSON::Serializable < Reference < Object

Details of the tool call.

Constructors

new(type_value : RunStepDeltaStepDetailsToolCallsObjectType = RunStepDeltaStepDetailsToolCallsObjectType::ToolCalls, tool_calls : Array(RunStepDeltaStepDetailsToolCall) | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

tool_calls

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, or function.

Source
tool_calls=(tool_calls : Array(RunStepDeltaStepDetailsToolCall) | Nil)

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, or function.

Source
type_value

Always tool_calls.

Source
type_value=(type_value : RunStepDeltaStepDetailsToolCallsObjectType)

Always tool_calls.

Source