As function of tool type