MCP TypeScript SDK (V2)
    Preparing search index...
    CompleteResourceTemplateCallback: (
        value: string,
        context?: { arguments?: Record<string, string> },
    ) => string[] | Promise<string[]>

    A callback to complete one variable within a resource template's URI template.

    Type Declaration

      • (
            value: string,
            context?: { arguments?: Record<string, string> },
        ): string[] | Promise<string[]>
      • Parameters

        • value: string
        • Optionalcontext: { arguments?: Record<string, string> }

        Returns string[] | Promise<string[]>