Finely chop the onion and green onion.
Add cooking oil to a pan and sauté the onion and green onion.
Add soft tofu and gently mash while stir-frying.
Season with salt and pepper.
Beat the eggs and pour them into the pan, stirring quickly to cook.
Place the soft tofu and egg mixture on top of the rice.
Drizzle with sesame oil and sprinkle with seaweed flakes to finish.