Tool selection

TODO introduction.