Usually a coin is flipped by a thumb
After that who knows - they've messed with it so much over the past few years
Seriously, though, I think...
Whoever wins the toss gets the choice to choose possession or field direction.
The loser of the toss gets to then choose whatever the winner did not go with, usually field direction.