MCP Apps
    Preparing search index...

    Interface McpUiToolMeta

    UI-related metadata for tools.

    interface McpUiToolMeta {
        csp?: undefined;
        permissions?: undefined;
        resourceUri?: string;
        visibility?: McpUiToolVisibility[];
    }
    Index

    Properties

    csp?: undefined

    csp belongs on the UI resource (see McpUiResourceMeta), not the tool. Hosts read it from the resources/read content item (with resources/list entry as fallback) and ignore it here.

    permissions?: undefined

    permissions belongs on the UI resource (see McpUiResourceMeta), not the tool. Hosts ignore it here.

    resourceUri?: string

    URI of the UI resource to display for this tool, if any. This is converted to _meta["ui/resourceUri"].

    "ui://weather/view.html"
    
    visibility?: McpUiToolVisibility[]

    Who can access this tool. Default: ["model", "app"]

    • "model": Tool visible to and callable by the agent
    • "app": Tool callable by the app from this server only