@@ -709,6 +709,15 @@ export interface ResponseApplyPatchToolCall {
709709 */
710710 call_id : string ;
711711
712+ /**
713+ * One of the create_file, delete_file, or update_file operations applied via
714+ * apply_patch.
715+ */
716+ operation :
717+ | ResponseApplyPatchToolCall . CreateFile
718+ | ResponseApplyPatchToolCall . DeleteFile
719+ | ResponseApplyPatchToolCall . UpdateFile ;
720+
712721 /**
713722 * The status of the apply patch tool call. One of `in_progress` or `completed`.
714723 */
@@ -723,15 +732,6 @@ export interface ResponseApplyPatchToolCall {
723732 * The ID of the entity that created this tool call.
724733 */
725734 created_by ?: string ;
726-
727- /**
728- * One of the create_file, delete_file, or update_file operations applied via
729- * apply_patch.
730- */
731- operation ?:
732- | ResponseApplyPatchToolCall . CreateFile
733- | ResponseApplyPatchToolCall . DeleteFile
734- | ResponseApplyPatchToolCall . UpdateFile ;
735735}
736736
737737export namespace ResponseApplyPatchToolCall {
@@ -806,11 +806,6 @@ export interface ResponseApplyPatchToolCallOutput {
806806 */
807807 call_id : string ;
808808
809- /**
810- * Optional textual output returned by the apply patch tool.
811- */
812- output : string | null ;
813-
814809 /**
815810 * The status of the apply patch tool call output. One of `completed` or `failed`.
816811 */
@@ -825,6 +820,11 @@ export interface ResponseApplyPatchToolCallOutput {
825820 * The ID of the entity that created this tool call output.
826821 */
827822 created_by ?: string ;
823+
824+ /**
825+ * Optional textual output returned by the apply patch tool.
826+ */
827+ output ?: string | null ;
828828}
829829
830830/**
@@ -3275,7 +3275,7 @@ export namespace ResponseInputItem {
32753275 * Optional human-readable log text from the apply patch tool (e.g., patch results
32763276 * or errors).
32773277 */
3278- output ?: string ;
3278+ output ?: string | null ;
32793279 }
32803280
32813281 /**
0 commit comments