Flour is a thickener and stabilizer that holds cookies together. In addition, it controls the rise of the cookie. Therefore, it will provide the structure. Please remember that a bit of flour will not keep cookies in shape. However, please do not use it too much because it will make the cookie tasteless.