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

    Interface TextResponseOptions

    Options for text responses.

    interface TextResponseOptions {
        _meta?: Record<string, unknown>;
        annotations?: ContentAnnotations;
        links?: readonly ResourceLinkSpec[];
        structuredContent?: Record<string, unknown>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    _meta?: Record<string, unknown>

    Custom metadata

    annotations?: ContentAnnotations

    Annotations to attach to the content

    links?: readonly ResourceLinkSpec[]

    Resource references to append to the response as resource_link content blocks. One block is appended per entry, in the given order, after the primary content. Useful for pointing at large payloads stored as readable resources without inlining them.

    structuredContent?: Record<string, unknown>

    Structured payload that mirrors the tool's outputSchema.

    When set, the framework forwards it on the CallToolResult as structuredContent. Clients use it for typed access to the tool's result while the human-readable content array stays unchanged.