Channel name (matches the MJ: AI Agent Channels row + the EnabledChannels entry), e.g. 'Whiteboard'.
Human label for the surface's header in the widget.
Prefix every one of this channel's tool names share, e.g. 'Whiteboard_'. Used to route tool calls.
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.
Renders the channel's surface into the supplied host element (inside the widget's shadow DOM).
Tears down the surface + subscriptions. Default: clears the context.
The client tools this channel contributes to the realtime session (declared at mint).
Wires the perception seam. Called once before the first tool call.
The framework-free Whiteboard channel. Renders agent-issued shapes/text into an inline SVG and reports each applied tool back to the model. Resolved via ClassFactory by the channel name.