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

    Type Parameters

    Type Declaration

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

        • value: z.input<T>
        • Optionalcontext: { arguments?: Record<string, string> }

        Returns z.input<T>[] | Promise<z.input<T>[]>