Cut the soft tofu into bite-sized pieces.
Place the soft tofu in a gratin dish.
Beat the eggs and pour them over the tofu.
Top generously with mozzarella cheese.
Season with salt and pepper.
Bake in a preheated oven at 180°C (356°F) for 10-15 minutes.