Emitted when a new output item is added.

interface ResponseOutputItemAddedEvent {
    item: ResponseOutputItem;
    output_index: number;
    type: "response.output_item.added";
}

Properties

The output item that was added.

output_index: number

The index of the output item that was added.

type: "response.output_item.added"

The type of the event. Always response.output_item.added.