class

OpenAI::ApplyPatchToolCallOutputItemParam

Inherits JSON::Serializable < Reference < Object

The streamed output emitted by an apply patch tool call.

Constructors

new(type_value : ApplyPatchToolCallOutputItemParamType = ApplyPatchToolCallOutputItemParamType::ApplyPatchCallOutput, id : ApplyPatchToolCallOutputItemParamId | Nil = nil, call_id : String = "", status : ApplyPatchCallOutputStatusParam = ApplyPatchCallOutputStatusParam::Completed, output : ApplyPatchToolCallOutputItemParamOutput | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

call_id

The unique ID of the apply patch tool call generated by the model.

Source
call_id=(call_id : String)

The unique ID of the apply patch tool call generated by the model.

Source
id=(id : ApplyPatchToolCallOutputItemParamId | Nil)
Source
output
Source
output=(output : ApplyPatchToolCallOutputItemParamOutput | Nil)
Source
status

The status of the apply patch tool call output. One of completed or failed.

Source
status=(status : ApplyPatchCallOutputStatusParam)

The status of the apply patch tool call output. One of completed or failed.

Source
type_value

The type of the item. Always apply_patch_call_output.

Source
type_value=(type_value : ApplyPatchToolCallOutputItemParamType)

The type of the item. Always apply_patch_call_output.

Source
validate!
Source