mcp-use TypeScript API
    Preparing search index...

    Type Alias ResourceTemplateCompleter

    ResourceTemplateCompleter: readonly string[] | CompleteResourceTemplateCallback

    A resource-template variable completer accepted by MCPServer.resourceTemplate.

    Static values are matched case-insensitively against the beginning of the current value. Callback completions use the official SDK callback shape and may inspect the other resolved string arguments in its optional context. The SDK limits wire results to 100 values and derives total and hasMore from the returned array.