These are attached to hinges and clip which are bolted to the roof with what look like allan or a type of spline headed screw, can a tool be bought to undo these or what can I use
A lot of cars use Torx bolts nowadays. You can buy a set of Torx screwdrivers easily enough, most common sizes are 15, 20 & 25 but they're not dear and you can often get a set for a few quid.