getPromptDirect method
Resolves a prompt through the direct JSON API.
Implementation
Future<McpJsonMap> getPromptDirect(
String name, {
Object? id,
Map<String, String> arguments = const <String, String>{},
String? protocolVersion,
Map<String, String> headers = const <String, String>{},
}) {
return getPrompt(
name,
id: id,
arguments: arguments,
directJson: true,
protocolVersion: protocolVersion,
headers: headers,
);
}