Heat a pan with 1 tsp oil, fry roughly chopped onions till they are pink, add garlic and sauté well. Remove.
Then, add roughly chopped tomatoes for 2 minutes. Cool and grind to smooth paste along with chili powder, salt, and onions.
Heat the pan with remaining oil, temper with mustard, urad and curry leaves. Add the ground chutney, sauté for 2 minutes.
Serve with Dosas or idles.