MCP Apps
    Preparing search index...

    Variable McpUiRequestTeardownNotificationSchemaConst

    McpUiRequestTeardownNotificationSchema: ZodObject<
        {
            method: ZodLiteral<"ui/notifications/request-teardown">;
            params: ZodOptional<ZodObject<{}, $strip>>;
        },
        $strip,
    > = ...

    Notification for app-initiated teardown request (View -> Host). Views send this to request that the host tear them down. The host decides whether to proceed - if approved, the host will send ui/resource-teardown to allow the view to perform cleanup before being unmounted.

    app.App.requestTeardown for the app method that sends this