Method ListResourceTemplatesAsync
ListResourceTemplatesAsync(McpRequestContext, CancellationToken)
Lists the URI templates the caller may instantiate, for resource families whose members cannot be enumerated ahead of time.
Task<IReadOnlyList<McpResourceTemplate>> ListResourceTemplatesAsync(McpRequestContext context, CancellationToken cancellationToken = default)
Parameters
contextMcpRequestContextSession and caller identity.
cancellationTokenCancellationTokenA token to observe while listing.