Add chana dal and urad dal. Let them cook till they turn crisp.
Add garlic cloves, chopped onion, and red chillies.
Shut off the flame and let everything cool down.
Take this mixture into a mixer jar after cooling.
No need to add water to the paste as the oil and moisture present in the onions will help in grinding.