onrails
    Preparing search index...

    Type Alias ToolResponse<T>

    ToolResponse:
        | { content: { text: string; type: "text" }[]; structuredContent: T }
        | { content: { text: string; type: "text" }[]; isError: true }

    MCP tool success / error shape (structured content + text)

    Type Parameters

    • T