Holder adapted for tools of different shape