Cut tofu, onion, and broccoli into bite-sized pieces.
Beat the eggs and season with salt and pepper.
Add olive oil to a pan and sauté onions and broccoli.
Add tofu and stir-fry briefly.
Mix the sautéed ingredients with the egg mixture in a bowl.
Place everything into an oven-safe dish and sprinkle cheese on top.
Bake in a 180°C oven for 15 minutes to finish.