Function toolFormatFor