MCP Server Framework - v1.1.2
    Preparing search index...

    Interface ResourceLinkSpec

    Reference to a server-exposed resource appended to a tool response.

    Tool helpers (text(), json(), structured()) accept a links option that emits one resource_link content block per entry. Clients can then call resources/read with the URI to retrieve the full payload without inlining it in the tool result.

    interface ResourceLinkSpec {
        annotations?: ContentAnnotations;
        description?: string;
        mimeType?: string;
        name: string;
        title?: string;
        uri: string;
    }
    Index

    Properties

    annotations?: ContentAnnotations

    Optional content annotations

    description?: string

    Optional short description

    mimeType?: string

    Optional MIME type of the linked resource

    name: string

    Human-readable resource name

    title?: string

    Optional title (display label preferred by clients)

    uri: string

    Resource URI (must be readable via resources/read)