Teaching Large Language Models To Use Tools At Scale