When you measure your square tube, you will need the outside dimension to find your cap in my options. 
Caps can handle tube thickness from 0.5 to 1-2mm 
Made from HARD plastic material, they will provide high wear resistant.