call_id: string

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

minLength1
maxLength64
status: "completed" | "failed"

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

One of the following:
"completed"
"failed"
type: "apply_patch_call_output"

The type of the item. Always apply_patch_call_output.

id?: string | null

The unique ID of the apply patch tool call output. Populated when this item is returned via API.

agent?: Agent | null

The agent that produced this item.

agent_name: string

The canonical name of the agent that produced this item.

caller?: Direct { type } | Program { caller_id, type } | null

The execution context that produced this tool call.

One of the following:
Direct { type }
type: "direct"

The caller type. Always direct.

Program { caller_id, type }
caller_id: string

The call ID of the program item that produced this tool call.

minLength1
maxLength64
type: "program"

The caller type. Always program.

output?: string | null

Optional human-readable log text from the apply patch tool (e.g., patch results or errors).

maxLength10485760