readResourceDirect method
Reads a resource through the direct JSON API.
Implementation
Future<List<McpJsonMap>> readResourceDirect(
String uri, {
Object? id,
String? protocolVersion,
Map<String, String> headers = const <String, String>{},
}) {
return readResource(
uri,
id: id,
directJson: true,
protocolVersion: protocolVersion,
headers: headers,
);
}