MCP Apps
    Preparing search index...

    Type Alias CreateViewContentBlockOptions

    Options for creating a dynamic view content block.

    type CreateViewContentBlockOptions = {
        blob?: string;
        mimeType: string;
        rendererUri?: string;
        text?: string;
        uri: string;
    }
    Index

    Properties

    blob?: string

    Base64-encoded payload. Exactly one of text or blob must be provided.

    mimeType: string

    Payload MIME type. Must be declared in the target view's contentMimeTypes.

    rendererUri?: string

    URI of the ui:// renderer resource this payload targets. If omitted, the payload targets the calling tool's _meta.ui.resourceUri.

    text?: string

    Payload as a string. Exactly one of text or blob must be provided.

    uri: string

    Ephemeral payload identifier (any scheme except ui://, which is reserved for renderable UI resources).