In a large pot, bring the chicken or vegetable broth to a boil.
Add sliced mushrooms and shredded carrots; simmer for 5 minutes.
Stir in the bamboo shoots and cubed tofu.
Mix in soy sauce, rice vinegar, and chili paste.
Allow the soup to simmer for another 5 minutes.
Slowly pour in the cornstarch mixture while stirring to thicken the soup.
Reduce heat and slowly stir in the beaten eggs to create egg ribbons.
Taste and adjust seasoning with additional soy sauce or vinegar as desired.
Remove from heat and let it sit for a minute.
Serve hot, garnished with green onions and cilantro.