notifyProgress method

void notifyProgress(
  1. String operationId,
  2. double progress,
  3. String message
)

Send progress notification for a tool operation

Implementation

void notifyProgress(String operationId, double progress, String message) {
  // Find the session and request ID for this operation
  final operation = _pendingOperations[operationId];
  if (operation?.requestId != null) {
    sendProgressNotification(
        operation!.sessionId,
        operation.requestId!,
        progress
    );
  }
}