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

Properties

event_id?: string

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

event_type: "step.delta"
index: number