Where exactly is TCP frame origin

Hi,

I am designing a tool for UR5 and I have problems figuring out the exact geometry. Where exactly is the origin of the TCP frame? Is it in the middle of the circle of the flange? On the surface of the robot?

Thank you
Vojta