Add coriander seeds, cumin seeds, cinnamon stick, cloves, and black peppercorns to a small skillet and dry roast on medium flame until they are slightly browned and fragrant. Keep stirring continuously while roasting.
Heat oil in a large pan over medium-high heat.
When the oil is hot, add curry leaves, green chillies, onions, and salt, and fry until the onions are translucent (5-6 minutes), stirring frequently.
Reduce the heat to low and cook until the chicken is tender (30-35 minutes). Stir a few times while cooking. Check for salt and add more if needed.
Garnish with chopped cilantro and serve hot.