ModelContentBlockStartEvent
Defined in: src/models/streaming.ts:101
Event emitted when a new content block starts in the stream.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ModelContentBlockStartEvent(data): ModelContentBlockStartEvent;Defined in: src/models/streaming.ts:113
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
data | ModelContentBlockStartEventData |
Returns
Section titled “Returns”ModelContentBlockStartEvent
Properties
Section titled “Properties”readonly type: "modelContentBlockStartEvent";Defined in: src/models/streaming.ts:105
Discriminator for content block start events.
Implementation of
Section titled “Implementation of”ModelContentBlockStartEventData.type
start?
Section titled “start?”readonly optional start?: ToolUseStart;Defined in: src/models/streaming.ts:111
Information about the content block being started. Only present for tool use blocks.