Wash basmati rice with water until the water runs clear. Soak the rice in water for 30 minutes.
Set the cook mode of the rice cooker. Add ghee. Once the ghee is hot, add cumin seeds, whole spices, cashews, and onion.
Fry until the onion becomes golden brown (6-8 minutes). Stir continuously while frying.
Drain water from the rice and add it to the rice cooker, along with green peas, salt, and water. Stir to combine.
Cover the rice cooker with the lid. Cook the pulao on low heat until all the liquid is absorbed and the rice is fully cooked. It should take 15 minutes. Stir the rice gently once midway.
Add chopped corainder leaves, and stir to combine. Let the pulao rest for 5 minutes. Fluff gently with a fork.
Serve matar pulao warm with gravy or dal of your choice.