Member Junction
    Preparing search index...

    Base class for a framework-free widget interactive channel. Concrete channels (e.g. the Whiteboard) subclass this and register with @RegisterClass(BaseWidgetChannel, '<ChannelName>'). Resolved via MJGlobal.ClassFactory.CreateInstance(BaseWidgetChannel, channelName).

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    context: WidgetChannelContext = null

    Accessors

    Methods

    • Applies one model-issued tool call to the channel's surface and returns the result as a JSON string (fed back to the model as the tool result). Must not throw — return an { "error": … } JSON payload on a bad call so the model can recover.

      Parameters

      • toolName: string
      • argsJson: string

      Returns string