Cut the soft tofu into bite-sized pieces.
Thinly slice the green onion and onion.
Heat some cooking oil in a pan and sauté the green onion to make green onion oil.
Add the onion and stir-fry until it becomes translucent.
Add the soft tofu and gently stir-fry.
Season with soy sauce, salt, and pepper.
Beat the eggs, pour evenly into the pan, cover with a lid, and let it cook.
Serve the finished soft tofu and eggs over a bowl of rice.