onPromptsListChanged method

void onPromptsListChanged(
  1. dynamic handler()
)

Handle prompts list changed notification

Implementation

void onPromptsListChanged(Function() handler) {
  onNotification(McpProtocol.methodPromptListChanged, (_) => handler());
}