mcp-use TypeScript API
    Preparing search index...

    Interface ModelContextResource

    Embedded text or binary resource; its title uses SDK metadata for restoration.

    interface ModelContextResource {
        audience?: ("user" | "assistant")[];
        title?: string;
    }

    Hierarchy (View Summary)

    Index
    audience?: ("user" | "assistant")[]

    Maps to MCP annotations.audience. All blocks still reach the model.

    title?: string

    Optional display label. The SDK handles encoding and host restoration.