OpenAI::ApplyPatchToolCallOutput
Inherits JSON::Serializable < Reference < Object
The output emitted by an apply patch tool call.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ApplyPatchToolCallOutputType = ApplyPatchToolCallOutputType::ApplyPatchCallOutput, id : String = "", call_id : String = "", status : ApplyPatchCallOutputStatus = ApplyPatchCallOutputStatus::Completed, output : ApplyPatchToolCallOutputOutput | Nil = nil, created_by : String | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
The ID of the entity that created this tool call output.
id
The unique ID of the apply patch tool call output. Populated when this item is returned via API.
id=(id : String)
The unique ID of the apply patch tool call output. Populated when this item is returned via API.
output
Sourceoutput=(output : ApplyPatchToolCallOutputOutput | Nil)
Sourcestatus=(status : ApplyPatchCallOutputStatus)
The status of the apply patch tool call output. One of completed or failed.
type_value=(type_value : ApplyPatchToolCallOutputType)
The type of the item. Always apply_patch_call_output.