OptionalcancelledWhether the associated tool call was cancelled.
OptionalchromelessWhether to hide the built-in view chrome.
OptionalclassAdditional class name applied to the view container.
OptionalcspCSP enforcement mode. Defaults to "permissive".
OptionalcustomString-valued custom properties forwarded to the app.
OptionaldisplayInitial display mode. Defaults to "inline".
OptionalfullscreenInspector-only chrome shown above the iframe in fullscreen display mode.
OptionaliconUrl?: string | nullOptional header icon URL.
Header title.
OptionalhostExplicit host capability overrides.
OptionalhostInitial host context sent to the app.
OptionalhostHost identity advertised to the app.
Stable host name.
Host version.
OptionalinlineMaximum inline view width in pixels.
OptionalinvokedStatus text shown after the associated tool completes.
OptionalinvokingStatus text shown while the associated tool is running.
OptionalmessageContent modalities accepted by the host's message handler.
OptionalmockDev mock of ChatGPT file APIs for local hosts (inspector). Default false.
OptionalmodelContent modalities accepted by the model-context handler.
OptionalonReceives the current app-visible tool connection.
OptionalonCalled when the browser reports a CSP violation.
OptionalonCalled when the app requests a supported display mode.
OptionalonHandles file-download requests from the app.
OptionalonCalled when view initialization or runtime handling fails.
OptionalonFired when the guest reports inline height via ui/notifications/size-changed.
OptionalonCalled for each view lifecycle transition.
OptionalonHandles structured log entries from the app.
OptionalonHandles content the app sends to the conversation.
OptionalonHandles model-context updates from the app.
OptionalonCalled when the app signals that it is ready.
OptionalonCalled after a live or preloaded resource is normalized.
OptionalonHandles sampling requests from the app.
OptionalpartialPartial streaming tool input forwarded to the app.
OptionalrenderOptional host close control for fullscreen (e.g. shared Button + icon).
OptionalsandboxSandbox page URL or function that derives one from the resolved resource.
Live resource or preloaded HTML to render.
OptionaltestTest identifier applied to the view container.
OptionaltoolTimeout in milliseconds for app-initiated tool calls. Defaults to 600000.
OptionaltoolComplete tool input forwarded to the app.
OptionaltoolTool associated with the view.
OptionaltoolTool result forwarded to the app.
Stable identifier for the view instance.
OptionalwrapWraps the host transport before it is connected to the app bridge.
Props accepted by ViewRenderer.