Tool selector