Here's a couple pictures to better understand.
Neither of these are mine but these are examples of what's inside a conventional fork. The issue you are having is the piston is spinning. The second photo shows how the bolt attaches the piston to the fork. In the first photo, you can see that there is a hole of some kind at the top of the piston. This is where the tool fits in to keep it from spinning.