Prepare onions and chicken: Slice red and white onions and season with black pepper and salt. Mix well. Drain and dry the chicken, then coat it with the seasoned onions. Cover and refrigerate for 30 minutes.
Prepare vegetables: Slice green peppers and tomatoes. Cut potatoes into rings about the size that cooks well without shriveling.
Make tomato juice: Boil tomatoes for 3 minutes, peel, and blend them. Add tomato paste, hot peppers, salt, cumin, coriander, seven spices, cinnamon, sweet pepper, paprika, vegetable broth, black pepper, and a pinch of sugar to the blended tomatoes. Dilute with a cup of water.
Brown chicken: Heat oil and ghee in a tray over medium heat. Brown the chicken on all sides, then remove from heat.
Brown garlic and onions: In the same tray, on low heat, brown two cloves of garlic with the onions that were with the chicken.
Assemble layers: Spread the browned onions in the tray. Layer potato slices, tomato slices, and green peppers. Place the browned chicken on top.
Add tomato sauce and spices: Spoon some tomato sauce mixed with oil over the chicken. Add pepper pods and a cinnamon stick on the side of the tray. Dot with ghee.
Cook in oven: Preheat oven to 250°C (482°F). Bake for 30 minutes, then reduce temperature to 180°C (356°F) and bake for another hour.
Finish with grill: Before removing, brush the chicken with some of the tomato sauce from the tray. Turn on the electric grill for 5 minutes to crisp and color the chicken.
Serve: Serve with rice cooked with vermicelli and potatoes to absorb the sauce.