@modelcontextprotocol/sdk
    Preparing search index...

    Type Alias CompleteCallback<T>

    CompleteCallback: (
        value: T["_input"],
        context?: { arguments?: Record<string, string> },
    ) => T["_input"][] | Promise<T["_input"][]>

    Type Parameters

    • T extends ZodTypeAny = ZodTypeAny

    Type Declaration

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

        • value: T["_input"]
        • Optionalcontext: { arguments?: Record<string, string> }

        Returns T["_input"][] | Promise<T["_input"][]>