listResourceTemplatesDirect method

Future<McpStreamableResourceTemplateListPage> listResourceTemplatesDirect({
  1. Object? id,
  2. String? cursor,
  3. String? protocolVersion,
  4. Map<String, String> headers = const <String, String>{},
})

Lists one page of resource templates through the direct JSON API.

Implementation

Future<McpStreamableResourceTemplateListPage> listResourceTemplatesDirect({
  Object? id,
  String? cursor,
  String? protocolVersion,
  Map<String, String> headers = const <String, String>{},
}) {
  return listResourceTemplates(
    id: id,
    cursor: cursor,
    directJson: true,
    protocolVersion: protocolVersion,
    headers: headers,
  );
}