OpenAI::ApplyPatchToolCallOutputItemParam
Inherits JSON::Serializable < Reference < Object
The streamed output emitted by an apply patch tool call.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ApplyPatchToolCallOutputItemParamType = ApplyPatchToolCallOutputItemParamType::ApplyPatchCallOutput, id : ApplyPatchToolCallOutputItemParamId | Nil = nil, call_id : String = "", status : ApplyPatchCallOutputStatusParam = ApplyPatchCallOutputStatusParam::Completed, output : ApplyPatchToolCallOutputItemParamOutput | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
id
Sourceid=(id : ApplyPatchToolCallOutputItemParamId | Nil)
Sourceoutput
Sourceoutput=(output : ApplyPatchToolCallOutputItemParamOutput | Nil)
Sourcestatus=(status : ApplyPatchCallOutputStatusParam)
The status of the apply patch tool call output. One of completed or failed.
type_value=(type_value : ApplyPatchToolCallOutputItemParamType)
The type of the item. Always apply_patch_call_output.
validate!
Source