Cut the tofu into 1cm thick slices.
Finely chop the onion and bell pepper.
Beat the eggs and set aside.
Heat olive oil in a pan and cook the tofu until golden brown.
Place the grilled tofu in a gratin dish.
Spread the chopped vegetables and beaten eggs evenly on top.
Sprinkle pizza cheese evenly.
Bake in the oven or air fryer until the cheese is melted and golden.