Rinse the soft tofu in water and drain thoroughly.
Finely chop the onion and paprika.
Heat olive oil in a pan, then sauté the onion and paprika.
Add tomato sauce and let it simmer.
Place the soft tofu in a gratin dish and pour the sauce over it.
Top with mozzarella cheese.
Bake in a preheated oven at 180°C for 10 minutes.