Cut the tofu into thick slices. You can further cut the slices in half crosswise. Slice the onion, scallion, and the optional mushrooms and chili pepper.
Spread the onion slices at the bottom of a small pot. Arrange the tofu on top, and then pour the braising liquid over. Bring it to a boil, and then reduce the heat to medium. Cook.