ADK for TypeScript: API Reference
    Preparing search index...

    Interface LangGraphAIMessage

    Represents an AI assistant message passed to or returned by a LangGraph graph.

    interface LangGraphAIMessage {
        content: LangGraphMessageContent;
        type: "ai";
    }

    Hierarchy (View Summary)

    Text or structured content of the message.

    type: "ai"

    Optional role or message type identifier ('human', 'ai', or 'system').