interface ContentDelta {
    delta:
        | Text
        | GeminiNextGenAPIClient.Interactions.ContentDelta.Image
        | Audio
        | GeminiNextGenAPIClient.Interactions.ContentDelta.Document
        | GeminiNextGenAPIClient.Interactions.ContentDelta.Video
        | ThoughtSummary
        | ThoughtSignature
        | GeminiNextGenAPIClient.Interactions.ContentDelta.FunctionCall
        | CodeExecutionCall
        | URLContextCall
        | GoogleSearchCall
        | MCPServerToolCall
        | FileSearchCall
        | GoogleMapsCall
        | FunctionResult
        | GeminiNextGenAPIClient.Interactions.ContentDelta.CodeExecutionResult
        | GeminiNextGenAPIClient.Interactions.ContentDelta.URLContextResult
        | GeminiNextGenAPIClient.Interactions.ContentDelta.GoogleSearchResult
        | MCPServerToolResult
        | GeminiNextGenAPIClient.Interactions.ContentDelta.FileSearchResult
        | GeminiNextGenAPIClient.Interactions.ContentDelta.GoogleMapsResult
        | TextAnnotation;
    event_id?: string;
    event_type: "content.delta";
    index: number;
}

Properties

The delta content data for a content block.

event_id?: string

The event_id token to be used to resume the interaction stream, from this event.

event_type: "content.delta"
index: number