@modelcontextprotocol/ext-apps - v1.1.2
    Preparing search index...

    Interface McpUiSizeChangedNotification

    Notification of UI size changes (View -> Host).

    App.sendSizeChanged for the method to send this from View

    interface McpUiSizeChangedNotification {
        method: "ui/notifications/size-changed";
        params: { height?: number; width?: number };
    }
    Index

    Properties

    Properties

    method: "ui/notifications/size-changed"
    params: { height?: number; width?: number }

    Type Declaration

    • Optionalheight?: number

      New height in pixels.

    • Optionalwidth?: number

      New width in pixels.