What is the function of clot retraction?
The platelets in the clot contain contractile proteins. They bring the edges of the wound together, which also reduces the chance of further bleeding. The contraction process also supports the wound healing process as it brings the ends of the wound together.

For more information see this article: "Mechanics and contraction dynamics of single platelets and implications for clot stiffening"