Adding foilage to my landscape auto material based on textures

I have a auto material made using a gras and dried grass texture with macro variation and cliff texture for sharp slopes and the material is working beautifully but now i want to add foilage like grass trees rocks based on the textures so I dont want grass trees flowers etc spawning on my cliff wall. I would like to bypass having to paint it on and have it spawn as i sculpt my landscape can someone please give and example of the steps required or point me in the correct direction please?

There is a node called LandscapeGrassOutput ! give it the layermask and foliage type and done!

Thank you for the information I now have foilage spawning and with some fine tuning I will be able to perfect my material.