Spawing stuff in

does anyone know what the command is for when you click on the item on the list and it spawns if in for you even if you dont have engough of the item i am needing this blocked