If there is a request to hide any of the page tools options in confluence space/page please follow the below steps.
For Space
Navigate to Space and click on three dots in the right top corner.
Select the page tool option which is to be hidden.
For example: Import Word Document

Right click on the tool and right click to inspect the element ID

Get the Element ID
Eg:"import-word-doc"

Navigate to Space Tools→Look&Feel

Navigate to CSS selector and provide the element ID followed by prefix #

Click on Save.
For Page
For hiding the tool in page level, navigate to the specific page and click on Edit button.
Insert Macro called Hide element


Provide the element ID in CSS selector

Save it.