Heat the pan add oil when oil is hot add roughly chopped onion garlic badam flax seeds green chilli fry until raw smell evaporates.
Keep aside to cool when it is completely cool grind to coarse paste with salt and tamarind paste add little water if needed
Serve with dosa chapati mudde or with idli .