make tool change based on a list of tools[]