SendMessageEvents

sealed class SendMessageEvents

Event stream for chat message responses using the content block model. Events follow a lifecycle: responseCreated -> responseInProgress -> (contentBlockStart/contentBlockDelta/contentBlockStop events) -> responseCompleted|responseFailed SendMessage always uses content block mode — legacy per-field events (outputTextDelta, functionCallArgumentsDelta, etc.) are not emitted.

Inheritors

Types

Link copied to clipboard

Emitted for each incremental content delta within a content block

Link copied to clipboard

Emitted when a new content block starts

Link copied to clipboard

Emitted when a content block is complete

Link copied to clipboard

Heartbeat event sent periodically to keep the connection alive during idle periods

Link copied to clipboard

Emitted when the response completes successfully

Link copied to clipboard

Emitted when the response is created

Link copied to clipboard

Emitted when the response fails

Link copied to clipboard

Emitted while the response is being generated

Link copied to clipboard
Link copied to clipboard

Emitted to provide a summary of agent actions

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard