class

OpenAI::RunStepDeltaStepDetailsToolCallsFunctionObject

Inherits JSON::Serializable < Reference < Object

Constructors

new(index : Int64 = 0, id : String | Nil = nil, type_value : RunStepDeltaStepDetailsToolCallsFunctionObjectType = RunStepDeltaStepDetailsToolCallsFunctionObjectType::Function, function : RunStepDeltaStepDetailsToolCallsFunctionObjectFunction | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

function

The definition of the function that was called.

Source
function=(function : RunStepDeltaStepDetailsToolCallsFunctionObjectFunction | Nil)

The definition of the function that was called.

Source
id

The ID of the tool call object.

Source
id=(id : String | Nil)

The ID of the tool call object.

Source
index

The index of the tool call in the tool calls array.

Source
index=(index : Int64)

The index of the tool call in the tool calls array.

Source
type_value

The type of tool call. This is always going to be function for this type of tool call.

Source
type_value=(type_value : RunStepDeltaStepDetailsToolCallsFunctionObjectType)

The type of tool call. This is always going to be function for this type of tool call.

Source